/** @generated NOT set appropriate parents */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)
      throws ExecutionException {

    ValueSpecificationAction newElement = UMLFactory.eINSTANCE.createValueSpecificationAction();

    // set appropriate parents
    if (!CreateCommandUtil.setNodeParents(newElement, getRequest(), getElementToEdit())) {
      return CommandResult.newCancelledCommandResult();
    }
    //		Activity owner = (Activity)getElementToEdit();
    //		owner.getNodes().add(newElement);

    ElementInitializers.getInstance().init_ValueSpecificationAction_3076(newElement);

    doConfigure(newElement, monitor, info);

    ((CreateElementRequest) getRequest()).setNewElement(newElement);
    return CommandResult.newOKCommandResult(newElement);
  }
 /** @generated NOT check that there is a correct model container. */
 public boolean canExecute() {
   // check that there is a correct model container
   return CreateCommandUtil.canCreateNode(getRequest(), getElementToEdit());
 }