Class 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 Detail

      • tree

        @CheckForNull
        private Tree tree
    • Constructor Detail

      • ContainmentTreeSelectInBrowserAction

        private ContainmentTreeSelectInBrowserAction()
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent evt)
        Description copied from class: MDAction
        Executes action.
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
        Overrides:
        actionPerformed in class com.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 interface BrowserAction
        Parameters:
        tree - the specific instance of tree.