diff options
author | Stephan Schwaer | 2015-08-31 17:28:42 +0200 |
---|---|---|
committer | Stephan Schwaer | 2015-08-31 17:28:42 +0200 |
commit | 893d0b2057e94461bf6ac6ebb14e238dbc3f7010 (patch) | |
tree | fc00b1512f66afaeb68a3977e7a0a9dc52f5f32a /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java | |
parent | [client] slightly improved user info message when deleting a basis image in I... (diff) | |
download | tutor-module-893d0b2057e94461bf6ac6ebb14e238dbc3f7010.tar.gz tutor-module-893d0b2057e94461bf6ac6ebb14e238dbc3f7010.tar.xz tutor-module-893d0b2057e94461bf6ac6ebb14e238dbc3f7010.zip |
[client] several layout fixes, added some comments.
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java index 31395897..c2edc99f 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java @@ -40,6 +40,10 @@ import org.openslx.dozmod.thrift.cache.LectureCache; import org.openslx.util.QuickTimer; import org.openslx.util.QuickTimer.Task; +/** + * Window for displaying a table with the available lectures. + * Lectures can be created and deleted here. + */ @SuppressWarnings("serial") public class LectureListWindow extends LectureListWindowLayout { @@ -226,11 +230,11 @@ public class LectureListWindow extends LectureListWindowLayout { return; ThriftActions.deleteLecture(JOptionPane.getFrameForComponent(me), lecture.getLectureId(), new DeleteLectureCallback() { - @Override - public void deleted(boolean success) { - refreshList(success); - } - }); + @Override + public void deleted(boolean success) { + refreshList(success); + } + }); } /** * Applies the filter entered in the search field to the table |