diff options
author | Jonathan Bauer | 2015-08-10 14:23:26 +0200 |
---|---|---|
committer | Jonathan Bauer | 2015-08-10 14:23:26 +0200 |
commit | 0e6a5ba5e09d5f546fc387e6eef928b33df5e194 (patch) | |
tree | ce6dafa6bc49ad6a3fea07dae00ee79b2fa52414 /dozentenmodul/src/main/java | |
parent | [client] mini fix lecture perms (diff) | |
download | tutor-module-0e6a5ba5e09d5f546fc387e6eef928b33df5e194.tar.gz tutor-module-0e6a5ba5e09d5f546fc387e6eef928b33df5e194.tar.xz tutor-module-0e6a5ba5e09d5f546fc387e6eef928b33df5e194.zip |
[client] add "neue veran." button
Diffstat (limited to 'dozentenmodul/src/main/java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java | 14 |
1 files changed, 11 insertions, 3 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 1c21dbe2..7174d4d0 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 @@ -23,6 +23,7 @@ public abstract class ImageListWindowLayout extends CompositePage { protected final static String infoTextString = "Hier können Sie Virtuelle Maschinen hochladen, herunterladen, bearbeiten und löschen."; protected final static String infoTitleString = "Übersicht Virtuelle Maschinen"; protected final static String newButtonLabel = "Neu"; + protected final static String newLectureButtonLabel = "Neue Veranstaltung"; protected final static String editButtonLabel = "Bearbeiten"; protected final static String deleteButtonLabel = "Löschen"; protected final static String downloadButtonLabel = "Download"; @@ -35,12 +36,12 @@ public abstract class ImageListWindowLayout extends CompositePage { protected JTextField searchTextField; protected ImageTable imageTable; protected JButton newButton; + protected JButton newLectureButton; protected JButton deleteButton; protected JButton downloadButton; protected JButton backButton; - public ImageListWindowLayout() { super(new BorderLayout()); @@ -70,17 +71,24 @@ public abstract class ImageListWindowLayout extends CompositePage { JPanel buttonPanel = new JPanel(); buttonPanel.setLayout(new BoxLayout(buttonPanel, BoxLayout.LINE_AXIS)); newButton = new JButton(newButtonLabel); + newLectureButton = new JButton(newLectureButtonLabel); deleteButton = new JButton(deleteButtonLabel); downloadButton = new JButton(downloadButtonLabel); backButton = new JButton(backButtonLabel); buttonPanel.add(newButton); + buttonPanel.add(newLectureButton); buttonPanel.add(deleteButton); buttonPanel.add(downloadButton); buttonPanel.add(backButton); listPanel.add(buttonPanel, BorderLayout.PAGE_END); - - } + + /** + * @param captionString + * @param group + * @param row + * @return + */ public JTextField createCaptionAndTextfield(String captionString, JPanel group, int row) { JLabel caption = new JLabel(captionString); JTextField textField = new JTextField(); |