Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/PropertyGroup.java @ 1465:d0bcf5ba7adf
Create the properties dialog content dynamically based on the properties read
from describe collection document.
flys-client/trunk@3505 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 21 Dec 2011 10:53:02 +0000 |
parents | 14ce1c2a9f6c |
children | 3304608baf35 |
comparison
equal
deleted
inserted
replaced
1464:c899a7ffdc8f | 1465:d0bcf5ba7adf |
---|---|
38 } | 38 } |
39 | 39 |
40 public void setProperties(List<Property> properties) { | 40 public void setProperties(List<Property> properties) { |
41 this.properties = properties; | 41 this.properties = properties; |
42 } | 42 } |
43 | |
44 public Property getPropertyByName(String name) { | |
45 for (int i = 0; i < properties.size(); i++) { | |
46 if (properties.get(i).getName().equals(name)) { | |
47 return properties.get(i); | |
48 } | |
49 } | |
50 return null; | |
51 } | |
43 } | 52 } |