summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java
diff options
context:
space:
mode:
authorJonathan Bauer2015-08-26 16:16:45 +0200
committerJonathan Bauer2015-08-26 16:16:45 +0200
commitf25ad5da2317d517502d4bd07eb94cf2e3567cbb (patch)
tree429963ca961fd01aaadcd892fc497a79f20acf9a /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java
parent[client] Simplify ListTable interfaces, add util class for color handling (diff)
downloadtutor-module-f25ad5da2317d517502d4bd07eb94cf2e3567cbb.tar.gz
tutor-module-f25ad5da2317d517502d4bd07eb94cf2e3567cbb.tar.xz
tutor-module-f25ad5da2317d517502d4bd07eb94cf2e3567cbb.zip
[client] switch image <-> lectures buttons in *ListWindows
add LectureImageListPage if starting image is unknown in LectureWizard
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java
index c7b02470..56b90542 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java
@@ -1,6 +1,5 @@
package org.openslx.dozmod.gui.window.layout;
-import java.awt.BorderLayout;
import java.awt.Font;
import java.awt.GridBagLayout;
@@ -24,8 +23,8 @@ public abstract class LectureListWindowLayout extends CompositePage {
private static final String newButtonLabel = "Neu";
private static final String editButtonLabel = "Bearbeiten";
private static final String deleteButtonLabel = "Löschen";
- private static final String backButtonLabel = "Zurück";
- private static final String tableGroupLabel = "Veranstaltungen";
+ private static final String switchViewButtonLabel = "Zu 'Images' wechseln";
+ private static final String tableGroupLabel = "Suchen";
private static final String infoTextString = "Hier können Sie Veranstaltungen anlegen, bearbeiten und löschen.";
protected final static String[] showOwnedLabel = {"Alle anzeigen", "Nur eigene Anzeigen", "Nur editierbare anzeigen", "Bald auslaufend"};
@@ -34,7 +33,7 @@ public abstract class LectureListWindowLayout extends CompositePage {
protected JButton newButton;
protected JButton deleteButton;
protected JButton editButton;
- protected JButton backButton;
+ protected JButton switchViewButton;
protected JComboBox<String> filterCbo;
@@ -99,8 +98,8 @@ public abstract class LectureListWindowLayout extends CompositePage {
deleteButton = new JButton(deleteButtonLabel);
buttonComposite.add(deleteButton);
buttonComposite.add(Box.createHorizontalGlue());
- backButton = new JButton(backButtonLabel);
- buttonComposite.add(backButton);
+ switchViewButton = new JButton(switchViewButtonLabel);
+ buttonComposite.add(switchViewButton);
// -- end group for table --
add(infoComposite, GridPos.get(0, 0, 2, 1, true, false));