Package spoon.support.modelobs
Interface ActionBasedChangeListener
- All Known Implementing Classes:
ActionBasedChangeListenerImpl
public interface ActionBasedChangeListener
notifies all change on the AST
-
Method Summary
Modifier and TypeMethodDescriptionvoid
when an element is changedvoid
when an element is addedvoid
onDelete(DeleteAction action)
when an element is removedvoid
onDeleteAll(DeleteAllAction action)
when all element are removedvoid
onUpdate(UpdateAction action)
when an element is modified
-
Method Details
-
onDelete
when an element is removed- Parameters:
action
- contains information of the change
-
onDeleteAll
when all element are removed- Parameters:
action
- contains information of the change
-
onAdd
when an element is added- Parameters:
action
- contains information of the change
-
onUpdate
when an element is modified- Parameters:
action
- contains information of the change
-
onAction
when an element is changed- Parameters:
action
- contains information of the change
-