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 a
System. 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 -
Method Summary
Modifier and TypeMethodDescriptionbooleancanExecute(Collection<? extends EObject> selections) Tests whether the object this tool is applied to is aSystem.voidAsks the user to select aRoleand attaches it to the givenAssemblyContext.
-
Constructor Details
-
RemoveATRoleAction
public RemoveATRoleAction()
-
-
Method Details
-
execute
Asks the user to select aRoleand attaches it to the givenAssemblyContext.- Specified by:
executein interfaceorg.eclipse.sirius.tools.api.ui.IExternalJavaAction
-
canExecute
Tests whether the object this tool is applied to is aSystem.- Specified by:
canExecutein interfaceorg.eclipse.sirius.tools.api.ui.IExternalJavaAction
-