Class RemoveConnectorAction
- java.lang.Object
-
- org.palladiosimulator.editors.sirius.resourceenvironment.custom.externaljavaactions.RemoveConnectorAction
-
- All Implemented Interfaces:
org.eclipse.sirius.tools.api.ui.IExternalJavaAction
public class RemoveConnectorAction extends Object implements org.eclipse.sirius.tools.api.ui.IExternalJavaAction
This external java action is used in resourceenvironment.odesign in the Network section to delete a connector between a LinkingResource and a ResourceContainer. Note that The elementView is passed as parameter when the delete action is triggered.
-
-
Constructor Summary
Constructors Constructor Description RemoveConnectorAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canExecute(Collection<? extends EObject> selections)
void
execute(Collection<? extends EObject> selections, Map<String,Object> parameters)
-
-
-
Method Detail
-
execute
public void execute(Collection<? extends EObject> selections, Map<String,Object> parameters)
- Specified by:
execute
in interfaceorg.eclipse.sirius.tools.api.ui.IExternalJavaAction
-
canExecute
public boolean canExecute(Collection<? extends EObject> selections)
- Specified by:
canExecute
in interfaceorg.eclipse.sirius.tools.api.ui.IExternalJavaAction
-
-