Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java @ 2883:c3feb721035c
Added ui provider for multiple date range input in fix analysis.
flys-client/trunk@4555 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 30 May 2012 12:02:56 +0000 |
parents | c7da05282644 |
children | 242b5c230707 |
comparison
equal
deleted
inserted
replaced
2882:63d1e5428a1c | 2883:c3feb721035c |
---|---|
4 | 4 |
5 import de.intevation.flys.client.client.ui.fixation.FixLocationPanel; | 5 import de.intevation.flys.client.client.ui.fixation.FixLocationPanel; |
6 import de.intevation.flys.client.client.ui.fixation.FixPeriodPanel; | 6 import de.intevation.flys.client.client.ui.fixation.FixPeriodPanel; |
7 import de.intevation.flys.client.client.ui.fixation.FixGaugeSelectPanel; | 7 import de.intevation.flys.client.client.ui.fixation.FixGaugeSelectPanel; |
8 import de.intevation.flys.client.client.ui.fixation.FixEventSelect; | 8 import de.intevation.flys.client.client.ui.fixation.FixEventSelect; |
9 import de.intevation.flys.client.client.ui.fixation.FixMultiPeriodPanel; | |
9 | 10 |
10 /** | 11 /** |
11 * Depending on the provider the state declared, return a UIProvider. | 12 * Depending on the provider the state declared, return a UIProvider. |
12 * | 13 * |
13 * A UIProvider provides widgets and input helpers to guide input to an | 14 * A UIProvider provides widgets and input helpers to guide input to an |
93 } | 94 } |
94 else if (uiProvider.equals("fix.period_ref_panel")) { | 95 else if (uiProvider.equals("fix.period_ref_panel")) { |
95 return new FixPeriodPanel("ref_start", "ref_end"); | 96 return new FixPeriodPanel("ref_start", "ref_end"); |
96 } | 97 } |
97 else if (uiProvider.equals("fix.period_ana_panel")) { | 98 else if (uiProvider.equals("fix.period_ana_panel")) { |
98 return new FixPeriodPanel("ana_start", "ana_end"); | 99 return new FixMultiPeriodPanel(); |
99 } | 100 } |
100 else if (uiProvider.equals("fix.gaugeselect_panel")) { | 101 else if (uiProvider.equals("fix.gaugeselect_panel")) { |
101 return new FixGaugeSelectPanel(); | 102 return new FixGaugeSelectPanel(); |
102 } | 103 } |
103 else if (uiProvider.equals("fix.event_panel")) { | 104 else if (uiProvider.equals("fix.event_panel")) { |