public interface IModelChangeEvent
Modifier and Type | Method and Description |
---|---|
ObList<IElement> |
getCreationEvents()
Used to get the list of created elements.
|
IElementDeletedEvent[] |
getDeleteEvents()
Used to get the list of deleted elements.
|
IElementMovedEvent[] |
getMoveEvents()
Used to get the list of moved elements.
|
ObList<IElement> |
getUpdateEvents()
Used to get the list of updated elements.
|
ObList<IElement> getCreationEvents()
Only the top created elements are listed here. For example if a package P1 has been created and in the same way, a class C1 has been created and added to the package, only the package P1 will be given through the use of this returned list.
ObList<IElement> getUpdateEvents()
An element is considered as updated only if it was not created or deleted during the transaction.
IElementMovedEvent[] getMoveEvents()
An element is considered as moved only if it was not created or deleted during the transaction.
The IElementMovedEvent
class is used to determine more precise information.
IElementDeletedEvent[] getDeleteEvents()
Only the top deleted elements are listed here. For example if a package P1, which contained a class C1, has been deleted, only the package P1 will be given through the use of this returned list.