comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java @ 48:6e191588a295

Render the Single-W panel initially when the WQInputPanel is rendered. flys-client/trunk@1496 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 17 Mar 2011 11:23:07 +0000
parents 45ae03d9ca2b
children a2923d63f530
comparison
equal deleted inserted replaced
47:45ae03d9ca2b 48:6e191588a295
131 protected Canvas createWidget(Data data) { 131 protected Canvas createWidget(Data data) {
132 VLayout layout = new VLayout(); 132 VLayout layout = new VLayout();
133 container = new VLayout(); 133 container = new VLayout();
134 Canvas modeForm = createModePanel(); 134 Canvas modeForm = createModePanel();
135 135
136 // the initial panel is the Single-W panel.
137 double[] values = getSingleW();
138 container.addMember(new DoubleArrayPanel(
139 MSG.unitWSingle(), values, this));
140
136 layout.addMember(modeForm); 141 layout.addMember(modeForm);
137 layout.addMember(container); 142 layout.addMember(container);
138 143
139 // TODO add a table on the right to select Q values 144 // TODO add a table on the right to select Q values
140 145

http://dive4elements.wald.intevation.org