* to make Java reflexion working.
* @return the created property
* @throws NoSuchMethodException if the getter or setter methods cannot be found
*/
public static LayoutProperty createProperty(Layout layout, Class valueType, String propertyName, String propertyCategory, String propertyCanonicalName, String propertyDescription, String getMethod, String setMethod) throws NoSuchMethodException {
Property property = new PropertySupport.Reflection(
layout, valueType, getMethod, setMethod);
property.setName(propertyName);
property.setShortDescription(propertyDescription);
return new LayoutProperty(property, propertyCategory, propertyCanonicalName);
}