public final class MainWindowUI
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MainWindowUI.StatusBarMode |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UI_LAYOUT_FILE |
Modifier and Type | Method and Description |
---|---|
static void |
createMainComponents(MainWindow mainWindow,
java.awt.Font font)
Create main UI panels.
|
static javax.swing.JPanel |
createStatusBar(MainWindow mainWindow)
Create swing UI components for status panel.
|
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. |
static com.vlsolutions.swing.docking.DockingDesktop |
initDocking(MainWindow mainWindow)
Create docking desktop panel.
|
static void |
initializeScreenLayout(MainWindow mainWindow)
Initialize the size of OmegaT window, then load the layout prefs.
|
static void |
resetDesktopLayout(MainWindow mainWindow)
Restores main window layout to the default values (distinct from global preferences).
|
static void |
saveScreenLayout(MainWindow mainWindow)
Stores main window docking layout to disk.
|
public static void createMainComponents(MainWindow mainWindow, java.awt.Font font)
public static com.vlsolutions.swing.docking.DockingDesktop initDocking(MainWindow mainWindow)
public static void handlePerProjectLayouts(MainWindow mainWindow)
IProjectEventListener
that handles loading, storing,
and restoring the main window layout when a project-specific layout is present.public static javax.swing.JPanel createStatusBar(MainWindow mainWindow)
public static void initializeScreenLayout(MainWindow mainWindow)
public static void saveScreenLayout(MainWindow mainWindow)
public static void resetDesktopLayout(MainWindow mainWindow)