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