comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DefaultState.java @ 635:acf3b49ec31f

Take the flow direction into account. flys-artifacts/trunk@2010 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 26 May 2011 14:27:06 +0000
parents 40d3039f85ac
children 627be3ca1ab6
comparison
equal deleted inserted replaced
634:d8c47520c726 635:acf3b49ec31f
158 158
159 select.appendChild(choices); 159 select.appendChild(choices);
160 ui.appendChild(select); 160 ui.appendChild(select);
161 161
162 Element[] items = createItems(creator, artifact, name, context); 162 Element[] items = createItems(creator, artifact, name, context);
163 for (Element item: items) { 163 if (items != null) {
164 choices.appendChild(item); 164 for (Element item: items) {
165 choices.appendChild(item);
166 }
165 } 167 }
166 } 168 }
167 169
168 return ui; 170 return ui;
169 } 171 }

http://dive4elements.wald.intevation.org