@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
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, createState, getCanvas, getDiagramActionsExecuter, getElementCreatorInfo, getNameSpace, isAllowedToCreateSymbol, isEnabledInRODiagram, replaceState, replaceWithSelectionActionState, setEnabledInRODiagram, updateState
getDiagram, getFirstSelected, getSelected, setDiagram
accept, getState, isDistinguish, isGrouped, setDistinguish, setGrouped, setState
addAction, addPropertyChangeListener, addShortcut, addShotcut, addWeakPropertyChangeListener, clone, compareTo, createMenuItem, equals, firePropertyChange, getActions, getCommandKey, getDescription, getGroup, getIcon, getID, getLargeIcon, getLargeOrSmallIcon, getMnemonicKey, getName, getPropertyChangeListeners, getShortcuts, getSmallIcon, getSmallOrLargeIcon, hashCode, isIDGenerated, removeAction, removePropertyChangeListener, removeShortcut, removeWeakPropertyChangeListener, setActions, setDescription, setGroup, setLargeIcon, setMnemonicKey, setName, setShortcuts, setSmallIcon, 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()