/** * Returns the value of a property. * * @param propertyId The property identifier. * @return the value of the property * @throws XMLConfigurationException Thrown for configuration error. In general, components should * only throw this exception if it is <strong>really</strong> a critical error. */ public PropertyState getPropertyState(String propertyId) throws XMLConfigurationException { if (LOCALE.equals(propertyId)) { return PropertyState.is(getLocale()); } final Object component = fComponents.get(propertyId); if (component != null) { return PropertyState.is(component); } else if (fComponents.containsKey(propertyId)) { return PropertyState.is(null); } return super.getPropertyState(propertyId); }
public PropertyState getPropertyState(String propertyId) throws XMLConfigurationException { if (LOCALE.equals(propertyId)) { return PropertyState.is(getLocale()); } return super.getPropertyState(propertyId); }