Class DrawPathDiagramAction

  • All Implemented Interfaces:
    com.dassault_systemes.modeler.magic.ui.diagrams.actions.AbstractDiagramAction, com.nomagic.magicdraw.actions.ShortcutSchemaAction, java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, java.util.EventListener, javax.swing.Action

    @OpenApi
    public abstract class DrawPathDiagramAction
    extends com.nomagic.magicdraw.ui.actions.BaseDiagramAction
    The abstract diagram action to draw path from diagram toolbar.
    See Also:
    Serialized Form
    • Constructor Detail

      • DrawPathDiagramAction

        @OpenApi
        public DrawPathDiagramAction​(@CheckForNull
                                     java.lang.String actionID,
                                     java.lang.String actionName,
                                     @CheckForNull
                                     javax.swing.KeyStroke key)
        Constructs new action with given id and name.
        Parameters:
        actionID - the action id.
        actionName - name of the action.
        key - the command key for action.
    • Method Detail

      • createElement

        @OpenApi
        protected abstract Element createElement()
        Creates model link.
        Returns:
        created model link