/** * Handles a change event for the specified property. * * @param complexProperty The property that changes. */ protected void propertyChanged(ComplexProperty complexProperty) { Iterator<Entry<PropertyDefinition, Object>> it = this.properties .entrySet().iterator(); while (it.hasNext()) { Entry<PropertyDefinition, Object> keyValuePair = it.next(); if (keyValuePair.getValue().equals(complexProperty)) { if (!this.deletedProperties.containsKey(keyValuePair.getKey())) { addToChangeList(keyValuePair.getKey(), this.modifiedProperties); this.changed(); } } } }
addToChangeList(propertyDefinition, this.modifiedProperties); } else { addToChangeList(propertyDefinition, this.addedProperties); } else { addToChangeList(propertyDefinition, this.modifiedProperties);
/** * Handles a change event for the specified property. * * @param complexProperty The property that changes. */ protected void propertyChanged(ComplexProperty complexProperty) { Iterator<Entry<PropertyDefinition, Object>> it = this.properties .entrySet().iterator(); while (it.hasNext()) { Entry<PropertyDefinition, Object> keyValuePair = it.next(); if (keyValuePair.getValue().equals(complexProperty)) { if (!this.deletedProperties.containsKey(keyValuePair.getKey())) { addToChangeList(keyValuePair.getKey(), this.modifiedProperties); this.changed(); } } } }
addToChangeList(propertyDefinition, this.modifiedProperties); } else { addToChangeList(propertyDefinition, this.addedProperties); } else { addToChangeList(propertyDefinition, this.modifiedProperties);