public interface IModelChangeEvent
Modifier and Type | Method and Description |
---|---|
java.util.Set<MObject> |
getCreationEvents()
Used to get the list of created elements.
|
java.util.List<IElementDeletedEvent> |
getDeleteEvents()
Used to get the list of deleted elements.
|
java.util.List<IElementMovedEvent> |
getMoveEvents()
Used to get the list of moved elements.
|
java.util.Set<MObject> |
getUpdateEvents()
Used to get the list of updated elements.
|
java.util.List<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.
java.util.List<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.
java.util.Set<MObject> 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.
java.util.Set<MObject> getUpdateEvents()
An element is considered as updated only if it was not created or deleted during the transaction.