private void addNewActionElement(String elementToCreate) {
   ActionElementContainer target = actionElementsSection.getActionElementContainer();
   ActionElementCreateCommand command = new ActionElementCreateCommand(target.getFactory());
   command.setActionElementContainer(actionElementsSection.getActionElementContainer());
   command.setActionId(elementToCreate);
   getCommandStack().execute(command);
 }
 private void removeSelectedObject() {
   if (actionElementsSection.getSelectedActionElement() != null) {
     ActionElementDeleteCommand command = new ActionElementDeleteCommand();
     command.setActionElement(actionElementsSection.getSelectedActionElement());
     command.setActionElementContainer(actionElementsSection.getActionElementContainer());
     getCommandStack().execute(command);
   }
 }