summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
diff options
context:
space:
mode:
authorSimon Rettberg2016-01-29 11:03:52 +0100
committerSimon Rettberg2016-01-29 11:03:52 +0100
commit7d81da615f089f06ba81c2cc2b67bc3ff4def957 (patch)
tree2d8cad390cbe7937b51a6f1b4693f8a5e6ed0d25 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
parent[client] Minor tweaks to image details window (diff)
downloadtutor-module-7d81da615f089f06ba81c2cc2b67bc3ff4def957.tar.gz
tutor-module-7d81da615f089f06ba81c2cc2b67bc3ff4def957.tar.xz
tutor-module-7d81da615f089f06ba81c2cc2b67bc3ff4def957.zip
[client] Sanitize coding style/conventions in GUI classes
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.java42
1 files changed, 21 insertions, 21 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 e14267e3..1fa98797 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,13 +33,13 @@ public abstract class ImageListWindowLayout extends CompositePage {
// --------------------------------------
// search field, table and buttons
- 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 switchViewButton;
+ protected final ImageListViewer ctlImageListViewer;
+ protected final JButton btnNewVm;
+ protected final JButton btnNewLecture;
+ protected final JButton btnEditDetails;
+ protected final JButton btnDownload;
+ protected final JButton btnDelete;
+ protected final JButton btnSwitchView;
public ImageListWindowLayout() {
super(new BorderLayout());
@@ -54,34 +54,34 @@ public abstract class ImageListWindowLayout extends CompositePage {
infoPanel.add(infoTitle, BorderLayout.NORTH);
infoPanel.add(infoText, BorderLayout.CENTER);
- imageListViewer = new ImageListViewer(FilterType.USABLE);
+ ctlImageListViewer = new ImageListViewer(FilterType.USABLE);
// --------------------------------------
// the buttons at the bottom
JPanel buttonPanel = new JPanel();
buttonPanel.setBorder(BorderFactory.createEmptyBorder(5, 0, 0, 0));
buttonPanel.setLayout(new BoxLayout(buttonPanel, BoxLayout.LINE_AXIS));
- newButton = new JButton(newButtonLabel);
- newLectureButton = new JButton(newLectureButtonLabel);
- deleteButton = new JButton(deleteButtonLabel);
- editButton = new JButton(editButtonLabel);
- downloadButton = new JButton(downloadButtonLabel);
- switchViewButton = new JButton(switchViewButtonLabel);
- buttonPanel.add(newButton);
+ btnNewVm = new JButton(newButtonLabel);
+ btnNewLecture = new JButton(newLectureButtonLabel);
+ btnDelete = new JButton(deleteButtonLabel);
+ btnEditDetails = new JButton(editButtonLabel);
+ btnDownload = new JButton(downloadButtonLabel);
+ btnSwitchView = new JButton(switchViewButtonLabel);
+ buttonPanel.add(btnNewVm);
buttonPanel.add(Box.createRigidArea(new Dimension(5, 0)));
- buttonPanel.add(newLectureButton);
- buttonPanel.add(editButton);
- buttonPanel.add(downloadButton);
+ buttonPanel.add(btnNewLecture);
+ buttonPanel.add(btnEditDetails);
+ buttonPanel.add(btnDownload);
buttonPanel.add(Box.createRigidArea(new Dimension(5, 0)));
- buttonPanel.add(deleteButton);
+ buttonPanel.add(btnDelete);
buttonPanel.add(Box.createHorizontalGlue());
- buttonPanel.add(switchViewButton);
+ buttonPanel.add(btnSwitchView);
// put everything together
GridManager grid = new GridManager(this, 1);
grid.add(infoPanel).fill(true, false).expand(true, false);
grid.nextRow();
- grid.add(imageListViewer).fill(true, true).expand(true, true);
+ grid.add(ctlImageListViewer).fill(true, true).expand(true, true);
grid.nextRow();
grid.add(buttonPanel).fill(true, false).expand(true, false);
grid.nextRow();