summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java
diff options
context:
space:
mode:
authorJonathan Bauer2015-08-10 15:27:14 +0200
committerJonathan Bauer2015-08-10 15:27:14 +0200
commit12f8200f6290af870b776aa1dfb6bb6875836c6a (patch)
tree7ead7e87ace98dece88f498b467a26cbd42e2f4b /dozentenmodul/src/main/java
parent[client] login on <ENTER> when in saveUsername Checkbox (diff)
downloadtutor-module-12f8200f6290af870b776aa1dfb6bb6875836c6a.tar.gz
tutor-module-12f8200f6290af870b776aa1dfb6bb6875836c6a.tar.xz
tutor-module-12f8200f6290af870b776aa1dfb6bb6875836c6a.zip
[client] remove "New" button from image list context menu as it doesn't make sense :)
Diffstat (limited to 'dozentenmodul/src/main/java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java
index dfe72ab7..0914bac7 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageListWindow.java
@@ -39,7 +39,6 @@ public class ImageListWindow extends ImageListWindowLayout {
public final ImageListWindow me = this;
- private JMenuItem popupItemNew = new JMenuItem("Neu");
private JMenuItem popupItemNewLecture = new JMenuItem("Neue Veranstaltung");
private JMenuItem popupItemDelete = new JMenuItem("Löschen");
private JMenuItem popupItemDownload = new JMenuItem("Download");
@@ -76,10 +75,6 @@ public class ImageListWindow extends ImageListWindowLayout {
// Setup popup menu for the right panel
final PopupMenu pop = new PopupMenu(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- if (e.getSource().equals(popupItemNew)) {
- // TODO new lecture wizard with this image preset
- LOGGER.debug("New image clicked");
- }
if (e.getSource().equals(popupItemNewLecture)) {
// TODO new lecture
LOGGER.debug("New lecture clicked");
@@ -96,7 +91,6 @@ public class ImageListWindow extends ImageListWindowLayout {
});
// add them to the popup menu
- pop.addMenuItem(popupItemNew);
pop.addMenuItem(popupItemNewLecture);
pop.addMenuItem(popupItemDownload);
pop.addSeparator();