/** @generated */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)
      throws ExecutionException {
    Property newElement = UMLFactory.eINSTANCE.createProperty();

    DataType owner = (DataType) getElementToEdit();
    owner.getOwnedAttributes().add(newElement);

    ElementInitializers.getInstance().init_Property_3014(newElement);

    doConfigure(newElement, monitor, info);

    ((CreateElementRequest) getRequest()).setNewElement(newElement);
    return CommandResult.newOKCommandResult(newElement);
  }
  /** @generated */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)
      throws ExecutionException {
    Operation newElement = UMLFactory.eINSTANCE.createOperation();

    Class owner = (Class) getElementToEdit();
    owner.getOwnedOperations().add(newElement);

    ElementInitializers.getInstance().init_Operation_3020(newElement);

    doConfigure(newElement, monitor, info);

    ((CreateElementRequest) getRequest()).setNewElement(newElement);
    return CommandResult.newOKCommandResult(newElement);
  }