//
////////////////////////////////////////////////////////////////////////////
public Property[] getProperties(Property property) throws Exception {
final String styleName = getText(property);
// prepare model
ObjectProperty objectProperty = (ObjectProperty) property;
ObjectInfo objectInfo = objectProperty.getObjectInfo();
// use RuleAccessor
final RuleAccessor accessor = RuleAccessor.get(objectInfo);
if (accessor.hasSemantics(styleName)) {
return new Property[]{
new StyleColorValueProperty(accessor, styleName, "color", "color"),