Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java @ 593:c0477626ae6a
#156 Do not display report modes as tabs in the project view.
flys-client/trunk@2189 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 21 Jun 2011 17:29:18 +0000 |
parents | 78907f0fb939 |
children | 3cf6ee30207c |
comparison
equal
deleted
inserted
replaced
592:f8f8982e2d5c | 593:c0477626ae6a |
---|---|
20 import de.intevation.flys.client.shared.model.Artifact; | 20 import de.intevation.flys.client.shared.model.Artifact; |
21 import de.intevation.flys.client.shared.model.ArtifactDescription; | 21 import de.intevation.flys.client.shared.model.ArtifactDescription; |
22 import de.intevation.flys.client.shared.model.Collection; | 22 import de.intevation.flys.client.shared.model.Collection; |
23 import de.intevation.flys.client.shared.model.ExportMode; | 23 import de.intevation.flys.client.shared.model.ExportMode; |
24 import de.intevation.flys.client.shared.model.OutputMode; | 24 import de.intevation.flys.client.shared.model.OutputMode; |
25 import de.intevation.flys.client.shared.model.ReportMode; | |
25 import de.intevation.flys.client.shared.model.User; | 26 import de.intevation.flys.client.shared.model.User; |
26 | 27 |
27 import de.intevation.flys.client.client.Config; | 28 import de.intevation.flys.client.client.Config; |
28 import de.intevation.flys.client.client.FLYS; | 29 import de.intevation.flys.client.client.FLYS; |
29 import de.intevation.flys.client.client.FLYSConstants; | 30 import de.intevation.flys.client.client.FLYSConstants; |
429 } | 430 } |
430 | 431 |
431 return; | 432 return; |
432 } | 433 } |
433 | 434 |
435 if (out instanceof ReportMode) { | |
436 // we don't want to display report modes at all | |
437 return; | |
438 } | |
439 | |
434 GWT.log("Add new output tab for '" + name + "'"); | 440 GWT.log("Add new output tab for '" + name + "'"); |
435 | 441 |
436 // TODO Source this out to a factory that creates the different | 442 // TODO Source this out to a factory that creates the different |
437 // OutputTabs. | 443 // OutputTabs. |
438 String title = messages.getString(name); | 444 String title = messages.getString(name); |