public void configPropertyName(PropertyElement property) { if (property == null) { return; } PropertyValueElement element = (PropertyValueElement)propertyValueManager.getElement(property.getID()); element.name = property.name + ""; propertyValueManager.refreshUI_Element(property.getID()); }
//删除属性 public void removeProperty(PropertyElement property) { propertyValueManager.removeElement(property.getID()); }
//配置属性 public void configProperty(PropertyElement property) { if (property == null) { return; } PropertyValueElement element = (PropertyValueElement)propertyValueManager.getElement(property.getID()); element.name = property.name + ""; element.ValueType = property.ValueType; element.setValue(property.getDefaultValue()); propertyValueManager.refreshUI_Element(property.getID()); }