diff options
author | Simon Rettberg | 2015-07-13 12:04:32 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-07-13 12:04:32 +0200 |
commit | edb3f4c93df393d9fb35880d69328d77e561283f (patch) | |
tree | f742678aa234f8ee2ff4d5565e8e98f1695eb5b6 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/MainMenuWindowLayout.java | |
parent | [client] Cleaned up and fixed image list window layout (diff) | |
download | tutor-module-edb3f4c93df393d9fb35880d69328d77e561283f.tar.gz tutor-module-edb3f4c93df393d9fb35880d69328d77e561283f.tar.xz tutor-module-edb3f4c93df393d9fb35880d69328d77e561283f.zip |
[client] Common parent class for pages shown in the main window. Do not dispose and create pages every time, instead show and hide them as needed
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/MainMenuWindowLayout.java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/MainMenuWindowLayout.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/MainMenuWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/MainMenuWindowLayout.java index b8519a4f..46656667 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/MainMenuWindowLayout.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/MainMenuWindowLayout.java @@ -4,10 +4,10 @@ import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; -import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Group; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Shell; +import org.openslx.dozmod.gui.helper.CompositePage; /* * Structure/workflow should be: @@ -35,7 +35,7 @@ import org.eclipse.swt.widgets.Shell; * will skip the login screen */ -public abstract class MainMenuWindowLayout extends Composite { +public abstract class MainMenuWindowLayout extends CompositePage { // text for info for the vms selection protected String vmInfo = "Infotext VMs."; |