Class 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 Detail

      • RemoveConnectorAction

        public RemoveConnectorAction()
    • Method Detail

      • 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