de.cau.cs.kieler.sim.kiem.config.extension
Class ConfigurationProvider
java.lang.Object
de.cau.cs.kieler.sim.kiem.config.extension.ConfigurationProvider
- All Implemented Interfaces:
- IKiemConfigurationProvider
public class ConfigurationProvider
- extends Object
- implements IKiemConfigurationProvider
Provides a link to the configuration manager.
- Rating

- (2010-01-27)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationProvider
public ConfigurationProvider()
changeProperty
public String changeProperty(String propertyId)
throws KiemPropertyException
- Ask the component to give a new value for the property specified by the
id. If multiple components are registered on this extension point only
the first value that was successfully retrieved will be used. All other
providers will not be asked.
- Specified by:
changeProperty
in interface IKiemConfigurationProvider
- Parameters:
propertyId
- the id of the property to change.
- Returns:
- the new value of the property.
- Throws:
KiemPropertyException
- if the propertyId was not found.
propertyChanged
public void propertyChanged(String propertyId,
String value)
- Notify the listener that the user changed the property specified by the
id.
- Specified by:
propertyChanged
in interface IKiemConfigurationProvider
- Parameters:
propertyId
- the id of the property.value
- the new value of the property.