/** @generated */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)
      throws ExecutionException {
    Validate newElement = BPELFactory.eINSTANCE.createValidate();

    RepeatUntil owner = (RepeatUntil) getElementToEdit();
    owner.setActivity(newElement);

    doConfigure(newElement, monitor, info);

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