comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java @ 5370:2a5d7f9f268f

MainValuesArtifact: Spawn two new facets (for his. w/q diagrams).
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 22 Mar 2013 09:08:04 +0100
parents d3f170484455
children 92c07d5c433c
comparison
equal deleted inserted replaced
5369:a0c807165bcd 5370:2a5d7f9f268f
125 Resources.getMsg( 125 Resources.getMsg(
126 callMeta, 126 callMeta,
127 "facet.discharge_curves.mainvalues.q", 127 "facet.discharge_curves.mainvalues.q",
128 "facet.discharge_curves.mainvalues.q"), 128 "facet.discharge_curves.mainvalues.q"),
129 true); 129 true);
130 Facet qfacet3 = new MainValuesQFacet(
131 HISTORICAL_DISCHARGE_MAINVALUES_Q,
132 Resources.getMsg(
133 callMeta,
134 "historical_discharge.mainvalues.q",
135 "historical_discharge.mainvalues.q"),
136 false);
130 137
131 fs.add(qfacet0); 138 fs.add(qfacet0);
132 fs.add(qfacet1); 139 fs.add(qfacet1);
133 fs.add(qfacet2); 140 fs.add(qfacet2);
141 fs.add(qfacet3);
134 } 142 }
135 if (!restricted || restriction.endsWith("w")) { 143 if (!restricted || restriction.endsWith("w")) {
136 Facet wfacet1 = new MainValuesWFacet( 144 Facet wfacet1 = new MainValuesWFacet(
137 COMPUTED_DISCHARGE_MAINVALUES_W, 145 COMPUTED_DISCHARGE_MAINVALUES_W,
138 Resources.getMsg( 146 Resources.getMsg(
139 callMeta, 147 callMeta,
140 "facet.discharge_curves.mainvalues.w", 148 "facet.discharge_curves.mainvalues.w",
141 "facet.discharge_curves.mainvalues.w"), 149 "facet.discharge_curves.mainvalues.w"),
142 false); 150 false);
143 Facet wfacet2 = new MainValuesWFacet( 151 Facet wfacet2 = new MainValuesWFacet(
144 MAINVALUES_W, 152 MAINVALUES_W,
145 Resources.getMsg( 153 Resources.getMsg(
146 callMeta, 154 callMeta,
147 "facet.discharge_curves.mainvalues.w", 155 "facet.discharge_curves.mainvalues.w",
148 "facet.discharge_curves.mainvalues.w"), 156 "facet.discharge_curves.mainvalues.w"),
149 true); 157 true);
158 Facet wfacet3 = new MainValuesWFacet(
159 HISTORICAL_DISCHARGE_MAINVALUES_W,
160 Resources.getMsg(
161 callMeta,
162 "historical_discharge.mainvalues.w",
163 "historical_discharge.mainvalues.w"),
164 true);
150 fs.add(wfacet1); 165 fs.add(wfacet1);
151 fs.add(wfacet2); 166 fs.add(wfacet2);
167 fs.add(wfacet3);
152 } 168 }
153 } 169 }
154 170
155 171
156 /** 172 /**

http://dive4elements.wald.intevation.org