Class ContainmentTree

All Implemented Interfaces:
com.dassault_systemes.modeler.magic.ui.EditActionExecutorsOwner, com.nomagic.awt.PopupOwner, com.nomagic.magicdraw.ui.Activatable, WindowComponent, com.nomagic.magicdraw.ui.Updatable, Cachable, Autoscroll, FocusListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

@OpenApi public class ContainmentTree extends BrowserTabTree
See Also:
  • Field Details

    • INFO_FACTORY

      public static final Supplier<com.nomagic.magicdraw.ui.browser.BrowserComponentInfo> INFO_FACTORY
    • INFO_ID

      public static final String INFO_ID
      See Also:
  • Constructor Details

    • ContainmentTree

      public ContainmentTree(com.nomagic.magicdraw.ui.browser.BrowserTabTreeParams params)
  • Method Details

    • getActions

      protected ActionsManager getActions()
      Description copied from class: BrowserTabTree
      Returns shortcuts action manager for this browser.
      Overrides:
      getActions in class BrowserTabTree
      Returns:
      ActionsManager with actions to register in this browser as KeyListeners
    • initTree

      public void initTree()
      Description copied from class: BrowserTabTree
      Initializes the tree. Root nodes will be created here.
      Overrides:
      initTree in class BrowserTabTree
    • getTreeRoots

      public com.nomagic.magicdraw.ui.browser.TreeRoots<?> getTreeRoots()
    • configureContextActions

      protected void configureContextActions(ActionsManager manager)
      Description copied from class: BrowserTabTree
      Configures context menu actions.
      Specified by:
      configureContextActions in class BrowserTabTree
      Parameters:
      manager - a manager with context menu actions to configure.
    • decorateTree

      public void decorateTree()
      Overrides:
      decorateTree in class Tree
    • configureToolbarActions

      protected void configureToolbarActions(ActionsManager manager)
      Specified by:
      configureToolbarActions in class BrowserTabTree
    • specificActivate

      public void specificActivate()
      Overrides:
      specificActivate in class BrowserTabTree
    • isInContainmentTree

      public static boolean isInContainmentTree(@CheckForNull Component component)
      Returns:
      true if component is ContainmentTree or belongs to ContainmentTree