Class MainFrame

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
com.jidesoft.docking.DefaultDockableHolder
com.jidesoft.action.DefaultDockableBarDockableHolder
com.nomagic.magicdraw.ui.MainFrame
All Implemented Interfaces:
com.jidesoft.action.DockableBarDockableHolder, com.jidesoft.action.DockableBarHolder, com.jidesoft.docking.DockableHolder, ActionsGroups, EnvironmentOptions.EnvironmentChangeListener, com.nomagic.ui.CursorOwner, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

@OpenApi public final class MainFrame extends com.jidesoft.action.DefaultDockableBarDockableHolder implements PropertyChangeListener, com.nomagic.ui.CursorOwner, ActionsGroups, EnvironmentOptions.EnvironmentChangeListener
The MainFrame class represents main window of the MagicDraw application. Also it has a set of inner classes- event listeners to handle all menu and toolbar events.
See Also:
  • Method Details

    • getMainMenuBar

      @OpenApi public JMenuBar getMainMenuBar()
      Returns main menu bar.
      Returns:
      main menu bar.
    • createMenuAndToolbars

      @OpenApi public void createMenuAndToolbars()
      Create (or recreate) all menu and toolbars. It will invoke all registered AMConfigurator in ActionsConfiguratorsManager
    • getBrowser

      @CheckForNull @OpenApi public Browser getBrowser()
      Returns model browser.
      Returns:
      model browser.
    • getProjectWindowsManager

      @OpenApi public ProjectWindowsManager getProjectWindowsManager()
      Returns ProjectWindowsManager.
      Returns:
      project windows manager.