Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java @ 239:47fe77a1bac7
Added new i18n strings for new output modes.
flys-client/trunk@1808 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 03 May 2011 16:22:27 +0000 |
parents | 924da6695800 |
children | 5e1c1b7d6516 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Tue May 03 13:52:14 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Tue May 03 16:22:27 2011 +0000 @@ -350,6 +350,12 @@ * @param name The name and title of the output. */ protected void addOutputTab(String name, OutputMode out) { + // XXX Maybe we should change this determination of visual outputs. I am + // not sure if the mimetype is the correct value for this! + if (out.getMimeType().equals("text/plain")) { + return; + } + GWT.log("Add new output tab for '" + name + "'"); // TODO Source this out to a factory that creates the different