@OpenApi public abstract class DrawShapeDiagramAction extends BaseCustomizableDiagramAction
mCustomAdditionalDrawActionDISTINGUISH, GROUPED, STATEACTION_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 |
|---|
DrawShapeDiagramAction(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 element
|
protected PresentationElement |
createPresentationElement()
Creates presentation element.
|
clone, createState, getCustomAdditionalDrawAction, getDefaultAdditionalDrawAction, getDefaultIcon, getIcons, getLargeIcon, getSmallIcon, getStyle, setCustomAdditionalDrawAction, setDescription, setIcons, setStyle, setStyleactionPerformed, getCanvas, getDiagramActionsExecuter, getElementCreatorInfo, getNameSpace, getProject, isAllowedToCreateSymbol, isEnabledInRODiagram, replaceState, replaceWithSelectionActionState, setEnabledInRODiagram, updateStategetDiagram, getFirstSelected, getSelected, setDiagramisUseShortcutSchemaaccept, getState, isDistinguish, isGrouped, setDistinguish, setGrouped, setStateaddAction, addPropertyChangeListener, addShortcut, addShotcut, addWeakPropertyChangeListener, compareTo, createMenuItem, equals, firePropertyChange, forEach, forEachIncludingSelf, getActions, getCommandKey, getDescription, getGroup, getIcon, getID, getLargeOrSmallIcon, getMenuShortcutMaskAsString, getMnemonicKey, getName, getPropertyChangeListeners, getShortcuts, getSmallOrLargeIcon, getTinyIcon, hashCode, hasMenuShortcutMask, isIDGenerated, removeAction, removeIf, removePropertyChangeListener, removeShortcut, removeWeakPropertyChangeListener, setActions, setGroup, setIcon, setLargeIcon, setMnemonicKey, setName, setShortcuts, setSmallIcon, setTinyIcon, shallowClone, toString@OpenApi
public DrawShapeDiagramAction(java.lang.String actionID,
java.lang.String actionName,
@CheckForNull
javax.swing.KeyStroke key)
actionID - the action id.actionName - name of the action.key - the command key for action.@OpenApi protected abstract Element createElement()
@OpenApi protected PresentationElement createPresentationElement()