summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java
diff options
context:
space:
mode:
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.java16
1 files changed, 15 insertions, 1 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 ff1a3635..e45fcac8 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
@@ -57,9 +57,13 @@ import org.openslx.util.Util;
* Window for displaying a table with the available lectures.
* Lectures can be created and deleted here.
*/
-@SuppressWarnings("serial")
public class LectureListWindow extends LectureListWindowLayout {
+ /**
+ * Version for serialization.
+ */
+ private static final long serialVersionUID = 3135935034893934652L;
+
private final static Logger LOGGER = Logger.getLogger(LectureListWindow.class);
public final LectureListWindow me = this;
@@ -352,6 +356,11 @@ public class LectureListWindow extends LectureListWindowLayout {
tblLectures.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(
KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "details");
tblLectures.getActionMap().put("details", new AbstractAction() {
+ /**
+ * Version for serialization.
+ */
+ private static final long serialVersionUID = -5308046358988793018L;
+
@Override
public void actionPerformed(ActionEvent ae) {
btnEditLecture.doClick();
@@ -360,6 +369,11 @@ public class LectureListWindow extends LectureListWindowLayout {
tblLectures.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(
KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, 0), "delete");
tblLectures.getActionMap().put("delete", new AbstractAction() {
+ /**
+ * Version for serialization.
+ */
+ private static final long serialVersionUID = 7494603320083796245L;
+
@Override
public void actionPerformed(ActionEvent ae) {
btnDeleteLecture.doClick();