summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
diff options
context:
space:
mode:
authorJonathan Bauer2015-07-10 09:25:24 +0200
committerJonathan Bauer2015-07-10 09:25:24 +0200
commit4f2026d557d5a5c27b0dcac0881d6c4b57e3dcae (patch)
tree14d6e7460e6b7fc9943ef505282acb9d595a7546 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
parent[client] Only allow Composites to be passed to openPopup; make Ctrl-Q quit th... (diff)
downloadtutor-module-4f2026d557d5a5c27b0dcac0881d6c4b57e3dcae.tar.gz
tutor-module-4f2026d557d5a5c27b0dcac0881d6c4b57e3dcae.tar.xz
tutor-module-4f2026d557d5a5c27b0dcac0881d6c4b57e3dcae.zip
[client] GuiManager is now MainWindow, old MainWindow is now MainMenuWindow
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
index 28faf60a..c9e7c1da 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
@@ -15,8 +15,8 @@ import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.Text;
-import org.openslx.dozmod.gui.helper.GuiManager;
import org.openslx.dozmod.gui.helper.TableHelper;
+import org.openslx.dozmod.gui.window.MainWindow;
public abstract class ImageListWindowLayout extends Composite {
@@ -70,7 +70,7 @@ public abstract class ImageListWindowLayout extends Composite {
infoTitle.setText(infoTitleString);
// set the fond
FontData fontData = infoTitle.getFont().getFontData()[0];
- Font font = new Font(GuiManager.getDisplay(), new FontData(fontData.getName(), fontData
+ Font font = new Font(MainWindow.getDisplay(), new FontData(fontData.getName(), fontData
.getHeight(), SWT.BOLD));
infoTitle.setFont(font);
// the infotext