Class MainWindowUI


  • public final class MainWindowUI
    extends java.lang.Object
    Class for initialize, load/save, etc. for main window UI components.
    • Field Detail

      • UI_LAYOUT_FILE

        public static final java.lang.String UI_LAYOUT_FILE
    • Method Detail

      • createMainComponents

        public static void createMainComponents​(MainWindow mainWindow,
                                                java.awt.Font font)
        Create main UI panels.
      • initDocking

        public static com.vlsolutions.swing.docking.DockingDesktop initDocking​(MainWindow mainWindow)
        Create docking desktop panel.
      • handlePerProjectLayouts

        public static void handlePerProjectLayouts​(MainWindow mainWindow)
        Installs a IProjectEventListener that handles loading, storing, and restoring the main window layout when a project-specific layout is present.
      • createStatusBar

        public static javax.swing.JPanel createStatusBar​(MainWindow mainWindow)
        Create swing UI components for status panel.
      • initializeScreenLayout

        public static void initializeScreenLayout​(MainWindow mainWindow)
        Initialize the size of OmegaT window, then load the layout prefs.
      • saveScreenLayout

        public static void saveScreenLayout​(MainWindow mainWindow)
        Stores main window docking layout to disk.
      • resetDesktopLayout

        public static void resetDesktopLayout​(MainWindow mainWindow)
        Restores main window layout to the default values (distinct from global preferences).