Class MainWindow

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class MainWindow extends JFrame
See Also:
  • Field Details

  • Method Details

    • getInstance

      public static MainWindow getInstance()
    • getRibbon

      public Ribbon getRibbon()
    • getSchemaExcplorerPanel

      public SchemaExplorerPanel getSchemaExcplorerPanel()
    • hasOneEditorNamed

      public boolean hasOneEditorNamed(String name)
    • setSelectedEditor

      public void setSelectedEditor(String name)
    • displayCloseableComponent

      public void displayCloseableComponent(JComponent comp, String title)
      Add a new tab in the editor's area with the provided components and title to display.
      Parameters:
      comp - the component to display in the editors tab
      title - the tab title
    • closeCurrentTab

      public void closeCurrentTab()
    • setTabComponentTitle

      public void setTabComponentTitle(JComponent comp, String title)
    • getCurrentTabComponent

      public Component getCurrentTabComponent()
    • getTabIndexOfTitle

      public int getTabIndexOfTitle(String title, boolean autoSelect)