Class RemoveATAction
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canExecute
(Collection<? extends EObject> selections) Checks whether there is only one selection and if its aStereotypeApplication
.void
Removes the selected Architectural Template from theSystem
-
Constructor Details
-
RemoveATAction
public RemoveATAction()
-
-
Method Details
-
execute
Removes the selected Architectural Template from theSystem
- Specified by:
execute
in interfaceorg.eclipse.sirius.tools.api.ui.IExternalJavaAction
-
canExecute
Checks whether there is only one selection and if its aStereotypeApplication
.- Specified by:
canExecute
in interfaceorg.eclipse.sirius.tools.api.ui.IExternalJavaAction
-