/** @generated */
 public boolean canExecute() {
   BreezeModel.Style container = (BreezeModel.Style) getElementToEdit();
   if (container.getArch() != null) {
     return false;
   }
   return true;
 }
  /** @generated */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)
      throws ExecutionException {
    BreezeModel.Template newElement = BreezeModel.breezeFactory.eINSTANCE.createTemplate();

    BreezeModel.Style owner = (BreezeModel.Style) getElementToEdit();
    owner.setArch(newElement);

    doConfigure(newElement, monitor, info);

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