@Override protected void initProperties() { super.initProperties(); properties = PropertyUtil.setProperty( properties, PropertyConstants.EDGE_PROPERTY_TYPE, PropertyConstants.EDGE_PROPERTY_TYPE_CURVED_ORTHOGONAL); PropertyUtil.makeEditable(properties, PropertyConstants.EDGE_PROPERTY_TYPE, false); properties = PropertyUtil.setProperty(properties, PropertyConstants.EDGE_PROPERTY_ROUNGING, rounding); }
@Override public void propertyChanged(List<PropertyList> path, PropertyUnit property) { super.propertyChanged(path, property); String str = PropertyUtil.toString(path, property); if (PropertyConstants.EDGE_PROPERTY_ROUNGING.equals(str)) { rounding = ConvertUtil.object2int(property.getValue()); } }
@Override public void setProperties(PropertyList properties) { super.setProperties(properties); rounding = PropertyUtil.getProperty(properties, PropertyConstants.EDGE_PROPERTY_ROUNGING, 0); }