Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java @ 5190:7b37876b2f51
WQAdaptedInputPanel: fix i18n, added todo as now method is full dupe.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 07 Mar 2013 15:22:01 +0100 |
parents | 6b19902baf31 |
children | d07abdb7ed7f |
comparison
equal
deleted
inserted
replaced
5189:60b5fca4f357 | 5190:7b37876b2f51 |
---|---|
54 extends AbstractUIProvider | 54 extends AbstractUIProvider |
55 implements ChangeHandler, BlurHandler | 55 implements ChangeHandler, BlurHandler |
56 { | 56 { |
57 private static final long serialVersionUID = -3218827566805476423L; | 57 private static final long serialVersionUID = -3218827566805476423L; |
58 | 58 |
59 /** The message class that provides i18n strings.*/ | |
60 protected FLYSConstants MESSAGE = GWT.create(FLYSConstants.class); | |
61 | |
59 public static final String FIELD_WQ_MODE = "wq_isq"; | 62 public static final String FIELD_WQ_MODE = "wq_isq"; |
60 public static final String FIELD_WQ_W = "W"; | 63 public static final String FIELD_WQ_W = "W"; |
61 public static final String FIELD_WQ_Q = "Q"; | 64 public static final String FIELD_WQ_Q = "Q"; |
62 | 65 |
63 public static final String GAUGE_SEPARATOR = ":"; | 66 public static final String GAUGE_SEPARATOR = ":"; |
131 | 134 |
132 return layout; | 135 return layout; |
133 } | 136 } |
134 | 137 |
135 | 138 |
139 /** Inits the helper panel. */ | |
140 // TODO duplicate in WQInputPanel | |
136 protected void initHelperPanel() { | 141 protected void initHelperPanel() { |
137 tabs = new TabSet(); | 142 tabs = new TabSet(); |
138 tabs.setWidth100(); | 143 tabs.setWidth100(); |
139 tabs.setHeight100(); | 144 tabs.setHeight100(); |
140 | 145 |
141 // TODO i18n | 146 Tab wTab = new Tab(MESSAGE.wq_table_w()); |
142 Tab wTab = new Tab("W"); | 147 Tab qTab = new Tab(MESSAGE.wq_table_q()); |
143 Tab qTab = new Tab("Q / D"); | |
144 | 148 |
145 wTab.setPane(wTable); | 149 wTab.setPane(wTable); |
146 qTab.setPane(qdTable); | 150 qTab.setPane(qdTable); |
147 qdTable.hideIconFields(); | 151 qdTable.hideIconFields(); |
148 | 152 |