Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java @ 90:f8c240f28c2a
The title of the parameter tab will change after the module has been selectd.
flys-client/trunk@1603 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 29 Mar 2011 10:11:57 +0000 |
parents | c8cd1b918901 |
children | 0d8203594bb4 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Tue Mar 29 09:45:57 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Tue Mar 29 10:11:57 2011 +0000 @@ -72,9 +72,6 @@ protected TabSet tabs; - /** The parameter tab.*/ - protected Tab parameterTab; - /** The output tab.*/ protected Map<String, OutputTab> outputTabs; @@ -93,11 +90,11 @@ this.collection = collection; this.tabs = new TabSet(); - this.parameterTab = new Tab(messages.winfo()); this.outputTabs = new HashMap<String, OutputTab>(); - this.parameterList = new ParameterList(flys, this); this.handlers = new ArrayList<CollectionChangeHandler>(); this.layout = new VLayout(); + this.parameterList = new ParameterList( + flys, this, messages.new_calculation()); addCollectionChangeHandler(this); @@ -126,10 +123,7 @@ addItem(layout); layout.addMember(tabs); - tabs.addTab(parameterTab); - - tabs.setTabTitle(0, messages.new_calculation()); - tabs.updateTab(0, parameterList); + tabs.addTab(parameterList); }