|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsemorg.gui.MainWindow
public class MainWindow
The main window of the application providing several menus to gain access of all the other windows of the application.
| Field Summary | |
|---|---|
private org.eclipse.swt.widgets.Display |
display
The display which contains all the windows. |
private Configuration |
huSemOrgConf
Holds the configuration of the application. |
private static MainWindow |
instance
Static instance of the MainWindow to allow the other windows an
easy access to some call attributes (e.g. the shell). |
private org.eclipse.swt.widgets.Shell |
shell
The shell (window) used to draw the MainWindow. |
| Constructor Summary | |
|---|---|
MainWindow(org.eclipse.swt.widgets.Display disp)
Creates a MainWindow instance with the given values. |
|
| Method Summary | |
|---|---|
private void |
centerShell()
Centers the shell on the screen. |
private void |
createListWindows()
Creates all static list window instances. |
private void |
createMenu()
Creats all the menus in the MainWindow. |
private void |
createStatusBar()
Creates a status bar. |
Configuration |
getConfiguration()
Returns a Configuration object which contains the actual
configuration. |
static MainWindow |
getInstance()
Returns the static instance of the MainWindow. |
org.eclipse.swt.widgets.Shell |
getShell()
|
static void |
main(String[] args)
The main function which implements the application starting process: loading the configuration file or create one with the default configuration if it does not exist. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static MainWindow instance
MainWindow to allow the other windows an
easy access to some call attributes (e.g. the shell).
private org.eclipse.swt.widgets.Shell shell
MainWindow.
private org.eclipse.swt.widgets.Display display
private Configuration huSemOrgConf
| Constructor Detail |
|---|
public MainWindow(org.eclipse.swt.widgets.Display disp)
MainWindow instance with the given values.
disp - The display used to draw the windows of this application.| Method Detail |
|---|
private void createListWindows()
private void centerShell()
private void createStatusBar()
private void createMenu()
MainWindow.
public org.eclipse.swt.widgets.Shell getShell()
public static MainWindow getInstance()
MainWindow.
public Configuration getConfiguration()
Configuration object which contains the actual
configuration.
public static void main(String[] args)
MainWindow instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||