"WEST",
"EAST",
"CENTER",
"LINE_START",
"LINE_END");
XmlProperty property = new XmlProperty(widget, "Direction", propertyEditor) {
@Override
public boolean isModified() throws Exception {
return true;
}
@Override
public Object getValue() throws Exception {
return getDirection(widget);
}
@Override
public void setValue(Object value) throws Exception {
if (value instanceof String) {
setDirection(widget, (String) value);
}
}
};
property.setCategory(PropertyCategory.system(7));
return property;
}
});
}