@OpenApi
public abstract class DrawPathDiagramAction
extends com.nomagic.magicdraw.ui.actions.BaseDiagramAction
DISTINGUISH, GROUPED, STATE
ACTION_SHORTCUTS, BELONGS_TO_SEPARATE_GROUP_IN_UI, DO_NO_SHOW_ACTION_NAME_IN_UI, GENERATED_ID_PREFIX, GROUP, ID, LARGE_ICON, MENU_SHORTCUT_MASK, TINY_ICON
Constructor and Description |
---|
DrawPathDiagramAction(java.lang.String actionID,
java.lang.String actionName,
javax.swing.KeyStroke key)
Constructs new action with given id and name.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Element |
createElement()
Creates model link.
|
actionPerformed, clone, createState, getCanvas, getDiagramActionsExecuter, getElementCreatorInfo, getNameSpace, getProject, isAllowedToCreateSymbol, isEnabledInRODiagram, replaceState, replaceWithSelectionActionState, setEnabledInRODiagram, updateState
getDiagram, getFirstSelected, getSelected, setDiagram
isUseShortcutSchema
accept, getState, isDistinguish, isGrouped, setDistinguish, setGrouped, setState
addAction, addPropertyChangeListener, addShortcut, addShotcut, addWeakPropertyChangeListener, compareTo, createMenuItem, equals, firePropertyChange, forEach, forEachIncludingSelf, getActions, getCommandKey, getDescription, getGroup, getIcon, getID, getLargeIcon, getLargeOrSmallIcon, getMenuShortcutMaskAsString, getMnemonicKey, getName, getPropertyChangeListeners, getShortcuts, getSmallIcon, getSmallOrLargeIcon, getTinyIcon, hashCode, hasMenuShortcutMask, isIDGenerated, removeAction, removeIf, removePropertyChangeListener, removeShortcut, removeWeakPropertyChangeListener, setActions, setDescription, setGroup, setIcon, setLargeIcon, setMnemonicKey, setName, setShortcuts, setSmallIcon, setTinyIcon, shallowClone, toString
@OpenApi public DrawPathDiagramAction(java.lang.String actionID, java.lang.String actionName, javax.swing.KeyStroke key)
actionID
- the action id.actionName
- name of the action.key
- the command key for action.@OpenApi protected abstract Element createElement()