Interface IConfigurationChangeListener
-
- All Known Implementing Classes:
AbstractConfigMenu,AttributeValuesPage,AttributeValuesPage.AttributeTableEditor,ChangeHistory.ChangeListener,ConfigurationHeaderMenu,ConfigurationTableEditor,ConfigurationTableEditorFactory.ConfigTableEditor,FilterMenu
public interface IConfigurationChangeListenerInterface for listeners, which should be informed in case of changes inside the configuration.- Author:
- El-Sharkawy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigurationRefreshed(Configuration config)Notification that the whole configuration was refreshed, e.g.voiditemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)Notification that aDecisionVariablechanged inside theConfiguration.voidstateChanged(Configuration config, IDecisionVariable changedVariable)Notification that the state of aDecisionVariablehas been changed inside theConfiguration.
-
-
-
Method Detail
-
itemChanged
void itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)
Notification that aDecisionVariablechanged inside theConfiguration.- Parameters:
config- TheConfigurationwhere the change occurred.changedVariable- TheDecisionVariablewhich changed.oldValue- the old value ofchangedVariablebefore the change
-
stateChanged
void stateChanged(Configuration config, IDecisionVariable changedVariable)
Notification that the state of aDecisionVariablehas been changed inside theConfiguration.- Parameters:
config- TheConfigurationwhere the change occurred.changedVariable- TheDecisionVariablewhich changed.
-
configurationRefreshed
void configurationRefreshed(Configuration config)
Notification that the whole configuration was refreshed, e.g. because the project was reparsed.- Parameters:
config- The configuration which was refreshed.
-
-