java.lang.Object
org.palladiosimulator.editors.sirius.custom.externaljavaactions.RemoveATAction
All Implemented Interfaces:
org.eclipse.sirius.tools.api.ui.IExternalJavaAction

public class RemoveATAction extends Object implements org.eclipse.sirius.tools.api.ui.IExternalJavaAction
A Sirius action that is used to remove an ArchitecturalTemplate Role from a System.
  • Constructor Details

    • RemoveATAction

      public RemoveATAction()
  • Method Details

    • execute

      public void execute(Collection<? extends EObject> selections, Map<String,Object> parameters)
      Removes the selected Architectural Template from the System
      Specified by:
      execute in interface org.eclipse.sirius.tools.api.ui.IExternalJavaAction
    • canExecute

      public boolean canExecute(Collection<? extends EObject> selections)
      Checks whether there is only one selection and if its a StereotypeApplication.
      Specified by:
      canExecute in interface org.eclipse.sirius.tools.api.ui.IExternalJavaAction