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 Details

    • RemoveConnectorAction

      public RemoveConnectorAction()
  • Method Details

    • execute

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

      public boolean canExecute(Collection<? extends EObject> selections)
      Specified by:
      canExecute in interface org.eclipse.sirius.tools.api.ui.IExternalJavaAction