diff options
author | Jonathan Bauer | 2015-08-26 14:42:48 +0200 |
---|---|---|
committer | Jonathan Bauer | 2015-08-26 14:42:48 +0200 |
commit | 10a8e8dff7b96f233d26fd576ccd9306531247bc (patch) | |
tree | 142075aa3c316a98d83a212ee2b257199e28b78a /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java | |
parent | [client] refactor: ImageWizard -> ImageCreationWizard & UpdateWizard -> Image... (diff) | |
download | tutor-module-10a8e8dff7b96f233d26fd576ccd9306531247bc.tar.gz tutor-module-10a8e8dff7b96f233d26fd576ccd9306531247bc.tar.xz tutor-module-10a8e8dff7b96f233d26fd576ccd9306531247bc.zip |
[client] add "View/Edit" button to button panel and popup menu in ImageList
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.java | 5 |
1 files changed, 4 insertions, 1 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 6e071c2d..09bdebd0 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 @@ -33,11 +33,11 @@ public abstract class ImageListWindowLayout extends CompositePage { protected final ImageListViewer imageListViewer; protected final JButton newButton; protected final JButton newLectureButton; + protected final JButton editButton; protected final JButton downloadButton; protected final JButton deleteButton; protected final JButton backButton; - public ImageListWindowLayout() { super(new BorderLayout()); @@ -61,10 +61,13 @@ public abstract class ImageListWindowLayout extends CompositePage { newButton = new JButton(newButtonLabel); newLectureButton = new JButton(newLectureButtonLabel); deleteButton = new JButton(deleteButtonLabel); + editButton = new JButton(editButtonLabel); downloadButton = new JButton(downloadButtonLabel); backButton = new JButton(backButtonLabel); buttonPanel.add(newButton); + buttonPanel.add(Box.createRigidArea(new Dimension(5, 0))); buttonPanel.add(newLectureButton); + buttonPanel.add(editButton); buttonPanel.add(downloadButton); buttonPanel.add(Box.createRigidArea(new Dimension(5, 0))); buttonPanel.add(deleteButton); |