diff options
author | Stephan Schwaer | 2015-10-08 14:53:17 +0200 |
---|---|---|
committer | Stephan Schwaer | 2015-10-08 14:53:17 +0200 |
commit | 1fcf4a47b494ef7713ce35255e0a708ed8cfb7f0 (patch) | |
tree | 53a802b9f7fd21c9abf6f398501f9c43665da6cb /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java | |
parent | [client] Show satellite selection window if connection fails the first time, ... (diff) | |
download | tutor-module-1fcf4a47b494ef7713ce35255e0a708ed8cfb7f0.tar.gz tutor-module-1fcf4a47b494ef7713ce35255e0a708ed8cfb7f0.tar.xz tutor-module-1fcf4a47b494ef7713ce35255e0a708ed8cfb7f0.zip |
[client] Disabled checkboxes for not implemented features (internet access and exam) for lectures
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java index 70cdc6ad..a4043e75 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java @@ -117,6 +117,7 @@ public class LectureDetailsWindow extends LectureDetailsWindowLayout implements */ public LectureDetailsWindow(Frame modalParent, LectureUpdatedCallback callback) { super(modalParent); + // save callback this.callback = callback; @@ -624,8 +625,13 @@ public class LectureDetailsWindow extends LectureDetailsWindowLayout implements txtTitle.setEditable(editable); txtDescription.setEditable(editable); btnLinkImage.setEnabled(editable); - chkIsExam.setEnabled(editable); - chkHasInternetAccess.setEnabled(editable); + + //TODO Temporarily disabled until implemented + chkIsExam.setEnabled(false); + chkHasInternetAccess.setEnabled(false); +// chkIsExam.setEnabled(editable); +// chkHasInternetAccess.setEnabled(editable); + chkIsActive.setEnabled(editable); chkAutoUpdate.setEnabled(editable); cboVersions.setEnabled(editable && !lecture.autoUpdate && image != null); |