Class ChangeHistory.ChangeListener
- java.lang.Object
-
- net.ssehub.easy.instantiation.core.model.vilTypes.configuration.ChangeHistory.ChangeListener
-
- All Implemented Interfaces:
IConfigurationChangeListener
- Enclosing class:
- ChangeHistory
private class ChangeHistory.ChangeListener extends java.lang.Object implements IConfigurationChangeListener
Implements a change listener to track reasoning changes to the configuration.- Author:
- Holger Eichelberger
-
-
Constructor Summary
Constructors Modifier Constructor Description privateChangeListener()
-
Method Summary
All Methods Instance Methods Concrete 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
public void itemChanged(Configuration config, IDecisionVariable changedVariable, Value oldValue)
Description copied from interface:IConfigurationChangeListenerNotification that aDecisionVariablechanged inside theConfiguration.- Specified by:
itemChangedin interfaceIConfigurationChangeListener- Parameters:
config- TheConfigurationwhere the change occurred.changedVariable- TheDecisionVariablewhich changed.oldValue- the old value ofchangedVariablebefore the change
-
stateChanged
public void stateChanged(Configuration config, IDecisionVariable changedVariable)
Description copied from interface:IConfigurationChangeListenerNotification that the state of aDecisionVariablehas been changed inside theConfiguration.- Specified by:
stateChangedin interfaceIConfigurationChangeListener- Parameters:
config- TheConfigurationwhere the change occurred.changedVariable- TheDecisionVariablewhich changed.
-
configurationRefreshed
public void configurationRefreshed(Configuration config)
Description copied from interface:IConfigurationChangeListenerNotification that the whole configuration was refreshed, e.g. because the project was reparsed.- Specified by:
configurationRefreshedin interfaceIConfigurationChangeListener- Parameters:
config- The configuration which was refreshed.
-
-