Class RemoveATRoleAction
- java.lang.Object
-
- org.palladiosimulator.editors.sirius.custom.externaljavaactions.RemoveATRoleAction
-
- All Implemented Interfaces:
org.eclipse.sirius.tools.api.ui.IExternalJavaAction
public class RemoveATRoleAction extends Object implements org.eclipse.sirius.tools.api.ui.IExternalJavaAction
This class applies an ArchitecturalTemplate to aSystem
. It will ask the user to select from an list of available ArchitecturalTemplates. FIXME: use org.eclipse.sirius.tools.api.ui.IExternalJavaAction2
-
-
Constructor Summary
Constructors Constructor Description RemoveATRoleAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canExecute(Collection<? extends EObject> selections)
Tests whether the object this tool is applied to is aSystem
.void
execute(Collection<? extends EObject> selections, Map<String,Object> parameters)
Asks the user to select aRole
and attaches it to the givenAssemblyContext
.
-
-
-
Method Detail
-
execute
public void execute(Collection<? extends EObject> selections, Map<String,Object> parameters)
Asks the user to select aRole
and attaches it to the givenAssemblyContext
.- Specified by:
execute
in interfaceorg.eclipse.sirius.tools.api.ui.IExternalJavaAction
-
canExecute
public boolean canExecute(Collection<? extends EObject> selections)
Tests whether the object this tool is applied to is aSystem
.- Specified by:
canExecute
in interfaceorg.eclipse.sirius.tools.api.ui.IExternalJavaAction
-
-