public interface NotificationReceiver
Modifier and Type | Method and Description |
---|---|
boolean |
canDelete(org.eclipse.emf.ecore.EObject toBeDeleted) |
void |
notify(org.eclipse.emf.common.notify.Notification notification)
Called whenever there is a new
Notification meant for the receiver. |
void |
notifyPostDelete(org.eclipse.emf.ecore.EObject toBeDeleted)
Called after an element was deleted.
|
void |
notifyPreDelete(org.eclipse.emf.ecore.EObject toBeDeleted)
Called before an element gets deleted, after all
VetoableDeleteObserver have returned true and therefore
the delete operation is allowed. |
void notify(org.eclipse.emf.common.notify.Notification notification)
Notification
meant for the receiver.notification
- the notificationvoid notifyPreDelete(org.eclipse.emf.ecore.EObject toBeDeleted)
VetoableDeleteObserver
have returned true and therefore
the delete operation is allowed.toBeDeleted
- The EObject
to be deletedvoid notifyPostDelete(org.eclipse.emf.ecore.EObject toBeDeleted)
toBeDeleted
- The EObject
to be deletedboolean canDelete(org.eclipse.emf.ecore.EObject toBeDeleted)
toBeDeleted
- The EObject
to be deletedVetoableDeleteObserver
return true and therefore allow the delete operation.Copyright © 2019. All rights reserved.