summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageDetailsWindowLayout.java
diff options
context:
space:
mode:
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageDetailsWindowLayout.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageDetailsWindowLayout.java13
1 files changed, 12 insertions, 1 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageDetailsWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageDetailsWindowLayout.java
index 498c44f8..c0c32f71 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageDetailsWindowLayout.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageDetailsWindowLayout.java
@@ -43,6 +43,10 @@ public abstract class ImageDetailsWindowLayout extends JDialog {
protected final JTextField txtTags;
protected final JCheckBox btnIsTemplate;
protected final JComboBox<ShareMode> cboShareMode;
+
+ protected final JTextField txtId;
+ protected final JTextField txtVersion;
+
protected final JButton btnSaveChanges;
protected final JButton btnClose;
@@ -67,7 +71,6 @@ public abstract class ImageDetailsWindowLayout extends JDialog {
// description
txtDescription = new JTextArea();
infoPanel.add(new JLabel("Beschreibung"), GridPos.get(0, 1, false, false));
-
infoPanel.add(new JScrollPane(txtDescription), GridPos.get(1, 1, true, false));
// owner
@@ -119,6 +122,14 @@ public abstract class ImageDetailsWindowLayout extends JDialog {
infoPanel.add(new JLabel("Vorlage"), GridPos.get(0, 10, false, false));
infoPanel.add(btnIsTemplate, GridPos.get(1, 10, true, false));
+ txtVersion = new JTextField();
+ infoPanel.add(new JLabel("Version"), GridPos.get(0, 11, false, false));
+ infoPanel.add(txtVersion, GridPos.get(1, 11, true, false));
+
+ txtId = new JTextField();
+ infoPanel.add(new JLabel("ID"), GridPos.get(0, 12, false, false));
+ infoPanel.add(txtId, GridPos.get(1, 12, true, false));
+
// finally add the infoPanel itself to the main view
add(infoPanel, BorderLayout.CENTER);
// button panel on the bottom