Package com.nomagic.magicdraw.ui.browser
Class ContainmentTree.ContainmentBrowserComponentInfo.ContainmentTreeSelectInBrowserAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- com.nomagic.actions.NMAction
-
- com.nomagic.magicdraw.actions.MDAction
-
- com.nomagic.magicdraw.uml.actions.SingleModelElementAction
-
- com.nomagic.magicdraw.uml.actions.MultipleModelElementAction
-
- com.nomagic.magicdraw.uml.SelectElementInTreeAction
-
- com.nomagic.magicdraw.uml.actions.SelectInContainmentTreeAction
-
- com.nomagic.magicdraw.uml.symbols.actions.SelectInBrowserAction
-
- com.nomagic.magicdraw.ui.browser.ContainmentTree.ContainmentBrowserComponentInfo.ContainmentTreeSelectInBrowserAction
-
- All Implemented Interfaces:
BrowserAction
,DiagramAction
,com.nomagic.magicdraw.actions.ShortcutSchemaAction
,ReaderEditionMark
,IMultipleModelElementAction
,ISingleModelElementAction
,java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable
,java.util.EventListener
,javax.swing.Action
- Enclosing class:
- com.nomagic.magicdraw.ui.browser.ContainmentTree.ContainmentBrowserComponentInfo
private static class ContainmentTree.ContainmentBrowserComponentInfo.ContainmentTreeSelectInBrowserAction extends com.nomagic.magicdraw.uml.symbols.actions.SelectInBrowserAction implements BrowserAction
-
-
Field Summary
Fields Modifier and Type Field Description private Tree
tree
-
Fields inherited from class com.nomagic.actions.NMAction
ACTION_SHORTCUTS, BELONGS_TO_SEPARATE_GROUP_IN_UI, DO_NO_SHOW_ACTION_NAME_IN_UI, DO_NOT_REGISTER_ACTION_TO_COMPONENTS, GENERATED_ID_PREFIX, GROUP, ID, LARGE_ICON, MENU_SHORTCUT_MASK, TINY_ICON
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ContainmentTreeSelectInBrowserAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent evt)
Executes action.void
setTree(Tree tree)
Set tree for this action.-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.actions.SelectInBrowserAction
getDiagram, getElements, setDiagram
-
Methods inherited from class com.nomagic.magicdraw.uml.actions.SelectInContainmentTreeAction
openMoreBroadTree, selectInBrowser, selectInBrowser, selectInContainmentTreeWithQuestion, updateState
-
Methods inherited from class com.nomagic.magicdraw.uml.SelectElementInTreeAction
fetchSelectionTaskDescription, getBrowserFilterItemTypes, getChangeFilterProperty, getSelectedTypes, getTreeGroup, isRootOrUnderRoot, openTreeNode, selectInBrowser, selectInBrowser, selectInTreeWithQuestion
-
Methods inherited from class com.nomagic.magicdraw.uml.actions.MultipleModelElementAction
createCollection, getElement, getElementsProvider, setElementsProvider
-
Methods inherited from class com.nomagic.magicdraw.uml.actions.SingleModelElementAction
getProvider, setProvider
-
Methods inherited from class com.nomagic.magicdraw.actions.MDAction
isUseShortcutSchema
-
Methods inherited from class com.nomagic.actions.NMAction
accept, addAction, addPropertyChangeListener, addShortcut, addShotcut, addWeakPropertyChangeListener, clone, 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
-
Methods inherited from class javax.swing.AbstractAction
getKeys, getValue, isEnabled, putValue, setEnabled
-
-
-
-
Field Detail
-
tree
@CheckForNull private Tree tree
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
Description copied from class:MDAction
Executes action.- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
- Overrides:
actionPerformed
in classcom.nomagic.magicdraw.uml.actions.SelectInContainmentTreeAction
- Parameters:
evt
- event caused execution.
-
setTree
public void setTree(@CheckForNull Tree tree)
Description copied from interface:BrowserAction
Set tree for this action. MagicDraw will set specific browser for configured actions in browser. You do not need to call this method explicitly by yourself.- Specified by:
setTree
in interfaceBrowserAction
- Parameters:
tree
- the specific instance of tree.
-
-