comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/fixation/FixFunctionSelect.java @ 8856:5e38e2924c07 3.2.x

Fix code style.
author Tom Gottfried <tom@intevation.de>
date Thu, 18 Jan 2018 20:12:01 +0100
parents de92e0cdebdc
children 6c24c857ccf9
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
25 import java.util.HashMap; 25 import java.util.HashMap;
26 import java.util.LinkedHashMap; 26 import java.util.LinkedHashMap;
27 import java.util.Map; 27 import java.util.Map;
28 28
29 public class FixFunctionSelect extends FixationPanel { 29 public class FixFunctionSelect extends FixationPanel {
30 private static final Map<String, String> funcDesc = new HashMap<String, String>(); 30 private static final Map<String, String> funcDesc =
31 new HashMap<String, String>();
31 32
32 static { 33 static {
33 funcDesc.put("log", "W(Q) = m*ln(Q + b)"); 34 funcDesc.put("log", "W(Q) = m*ln(Q + b)");
34 funcDesc.put("linear", "W(Q) = m * Q + b"); 35 funcDesc.put("linear", "W(Q) = m * Q + b");
35 funcDesc.put("log-linear", "W(Q) = a*ln(m*Q+b)"); 36 funcDesc.put("log-linear", "W(Q) = a*ln(m*Q+b)");
63 label.setWidth(400); 64 label.setWidth(400);
64 65
65 SelectItem combobox = new SelectItem(d.getLabel()); 66 SelectItem combobox = new SelectItem(d.getLabel());
66 combobox.setWidth(250); 67 combobox.setWidth(250);
67 68
68 LinkedHashMap<String, String> funcTypes = new LinkedHashMap<String, String>(); 69 LinkedHashMap<String, String> funcTypes =
70 new LinkedHashMap<String, String>();
69 71
70 boolean defaultSet = false; 72 boolean defaultSet = false;
71 boolean first = true; 73 boolean first = true;
72 74
73 DataItem def = d.getDefault(); 75 DataItem def = d.getDefault();

http://dive4elements.wald.intevation.org