diff options
author | Simon Rettberg | 2015-08-03 12:15:42 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-08-03 12:15:42 +0200 |
commit | f3f6b2ecd820a4a8d16179a52312e93a3177b0fa (patch) | |
tree | 1f33fdba432e301028370ba0ef957f07f4a1a6d6 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureListWindow.java | |
parent | [client] Fix remaining compilation errors (diff) | |
download | tutor-module-f3f6b2ecd820a4a8d16179a52312e93a3177b0fa.tar.gz tutor-module-f3f6b2ecd820a4a8d16179a52312e93a3177b0fa.tar.xz tutor-module-f3f6b2ecd820a4a8d16179a52312e93a3177b0fa.zip |
[client] Open "new lecture" wizard
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 | 4 |
1 files changed, 3 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 ccb12ad4..8e60a375 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 @@ -7,6 +7,7 @@ import java.awt.event.MouseEvent; import java.util.List; import javax.swing.JTextField; +import javax.swing.SwingUtilities; import javax.swing.event.DocumentEvent; import javax.swing.event.DocumentListener; import javax.swing.event.ListSelectionEvent; @@ -17,6 +18,7 @@ import org.openslx.bwlp.thrift.iface.LectureSummary; import org.openslx.dozmod.gui.Gui; import org.openslx.dozmod.gui.MainWindow; import org.openslx.dozmod.gui.window.layout.LectureListWindowLayout; +import org.openslx.dozmod.gui.wizard.LectureWizard; import org.openslx.dozmod.thrift.LectureCache; import org.openslx.dozmod.thrift.UserCache; import org.openslx.dozmod.util.FormatHelper; @@ -102,7 +104,7 @@ public class LectureListWindow extends LectureListWindowLayout { newButton.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { - // TODO Auto-generated method stub + new LectureWizard(SwingUtilities.getWindowAncestor(me), false).setVisible(true); } }); |