Interface NotificationReceiver
-
- All Known Implementing Classes:
ChangeBrokerImpl
public interface NotificationReceiver
A target for new notifications.- Author:
- jfaltermeier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canDelete(org.eclipse.emf.ecore.EObject toBeDeleted)
void
notify(org.eclipse.emf.common.notify.Notification notification)
Called whenever there is a newNotification
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 allVetoableDeleteObserver
have returned true and therefore the delete operation is allowed.
-
-
-
Method Detail
-
notify
void notify(org.eclipse.emf.common.notify.Notification notification)
Called whenever there is a newNotification
meant for the receiver.- Parameters:
notification
- the notification
-
notifyPreDelete
void notifyPreDelete(org.eclipse.emf.ecore.EObject toBeDeleted)
Called before an element gets deleted, after allVetoableDeleteObserver
have returned true and therefore the delete operation is allowed.- Parameters:
toBeDeleted
- TheEObject
to be deleted- Since:
- 1.7
-
notifyPostDelete
void notifyPostDelete(org.eclipse.emf.ecore.EObject toBeDeleted)
Called after an element was deleted.- Parameters:
toBeDeleted
- TheEObject
to be deleted- Since:
- 1.7
-
canDelete
boolean canDelete(org.eclipse.emf.ecore.EObject toBeDeleted)
- Parameters:
toBeDeleted
- TheEObject
to be deleted- Returns:
- If all
VetoableDeleteObserver
return true and therefore allow the delete operation. - Since:
- 1.7
-
-