diff options
author | Stephan Schwaer | 2015-08-17 13:19:54 +0200 |
---|---|---|
committer | Stephan Schwaer | 2015-08-17 13:19:54 +0200 |
commit | 834cd142dfbc94ecf491fb42a5f1d65cd608c9bb (patch) | |
tree | aca9a6874931178b7f0916b1621c368a5f44b907 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java | |
parent | [client] Remove obsolete TODOs, debug output (diff) | |
download | tutor-module-834cd142dfbc94ecf491fb42a5f1d65cd608c9bb.tar.gz tutor-module-834cd142dfbc94ecf491fb42a5f1d65cd608c9bb.tar.xz tutor-module-834cd142dfbc94ecf491fb42a5f1d65cd608c9bb.zip |
[client] Add filter for only templates in image list.
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java index ae64ee6f..1343127d 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java @@ -33,7 +33,7 @@ public abstract class ImageListWindowLayout extends CompositePage { protected final static String backButtonLabel = "Zurück"; protected final static String tableGroupLabel = "Images"; protected final static String filterGroupLabel = "Filter"; - protected final static String[] showOwnedLabel = {"Alle anzeigen", "Nur eigene Anzeigen", "Nur editierbare anzeigen"}; + protected final static String[] filterLabels = {"Alle anzeigen", "Nur eigene Anzeigen", "Nur editierbare anzeigen", "Nur Vorlagen zeigen"}; // -------------------------------------- // search field, table and buttons @@ -68,7 +68,7 @@ public abstract class ImageListWindowLayout extends CompositePage { filterPanel.setLayout(new BoxLayout(filterPanel, BoxLayout.LINE_AXIS)); searchTextField = new JTextField(); filterCbo = new JComboBox<String>(); - for (String s: showOwnedLabel){ + for (String s: filterLabels){ filterCbo.addItem(s); } filterPanel.add(searchTextField); |