|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.common.notify.NotificationWrapper
A notification that wraps another notification.
All the Notification methods are delegated to the wrapped notification.
| Field Summary | |
protected Notification |
notification
The notification that is being wrapped. |
protected Object |
notifier
An optional override value for the notification's notifier. |
| Fields inherited from interface org.eclipse.emf.common.notify.Notification |
ADD, ADD_MANY, CREATE, EVENT_TYPE_COUNT, MOVE, NO_FEATURE_ID, NO_INDEX, REMOVE, REMOVE_MANY, REMOVING_ADAPTER, RESOLVE, SET, UNSET |
| Constructor Summary | |
NotificationWrapper(Notification notification)
Create an instance with the specified notification. |
|
NotificationWrapper(Object notifier,
Notification notification)
Create an instance with the specified notifier and notification. |
|
| Method Summary | |
int |
getEventType()
Delegates to the getEventType method of the notification. |
Object |
getFeature()
Delegates to the getFeature method of the notification. |
int |
getFeatureID(Class expectedClass)
Delegates to the getFeatureID method of the notification. |
boolean |
getNewBooleanValue()
Delegates to the getNewBooleanValue method of the notification. |
byte |
getNewByteValue()
Delegates to the getNewByteValue method of the notification. |
char |
getNewCharValue()
Delegates to the getNewCharValue method of the notification. |
double |
getNewDoubleValue()
Delegates to the getNewDoubleValue method of the notification. |
float |
getNewFloatValue()
Delegates to the getNewFloatValue method of the notification. |
int |
getNewIntValue()
Delegates to the getNewIntValue method of the notification. |
long |
getNewLongValue()
Delegates to the getNewLongValue method of the notification. |
short |
getNewShortValue()
Delegates to the getNewShortValue method of the notification. |
String |
getNewStringValue()
Delegates to the getNewStringValue method of the notification. |
Object |
getNewValue()
Delegates to the getNewValue method of the notification. |
Object |
getNotifier()
Returns the local notifier if set; otherwise delegates to the getNotifier method of the notification. |
boolean |
getOldBooleanValue()
Delegates to the getOldBooleanValue method of the notification. |
byte |
getOldByteValue()
Delegates to the getOldByteValue method of the notification. |
char |
getOldCharValue()
Delegates to the getOldCharValue method of the notification. |
double |
getOldDoubleValue()
Delegates to the getOldDoubleValue method of the notification. |
float |
getOldFloatValue()
Delegates to the getOldFloatValue method of the notification. |
int |
getOldIntValue()
Delegates to the getOldIntValue method of the notification. |
long |
getOldLongValue()
Delegates to the getOldLongValue method of the notification. |
short |
getOldShortValue()
Delegates to the getOldShortValue method of the notification. |
String |
getOldStringValue()
Delegates to the getOldStringValue method of the notification. |
Object |
getOldValue()
Delegates to the getOldValue method of the notification. |
int |
getPosition()
Delegates to the getPosition method of the notification. |
boolean |
isReset()
Delegates to the isReset method of the notification. |
boolean |
isTouch()
Delegates to the isTouch method of the notification. |
boolean |
merge(Notification notification)
Delegates to the merge method of the notification. |
boolean |
wasSet()
Delegates to the wasSet method of the notification. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Notification notification
protected Object notifier
| Constructor Detail |
public NotificationWrapper(Notification notification)
public NotificationWrapper(Object notifier,
Notification notification)
| Method Detail |
public Object getNotifier()
getNotifier in interface Notificationpublic int getEventType()
getEventType in interface NotificationNotifierpublic int getFeatureID(Class expectedClass)
getFeatureID in interface NotificationexpectedClass - the class to which the ID is relative.
Notification.NO_FEATURE_IDpublic Object getFeature()
getFeature in interface Notificationpublic Object getOldValue()
getOldValue in interface Notificationpublic Object getNewValue()
getNewValue in interface Notificationpublic boolean wasSet()
wasSet in interface Notificationpublic boolean isTouch()
isTouch in interface Notificationpublic boolean isReset()
isReset in interface Notificationpublic int getPosition()
getPosition in interface Notificationpublic boolean merge(Notification notification)
merge in interface Notificationpublic boolean getOldBooleanValue()
getOldBooleanValue in interface Notificationpublic boolean getNewBooleanValue()
getNewBooleanValue in interface Notificationpublic byte getOldByteValue()
getOldByteValue in interface Notificationpublic byte getNewByteValue()
getNewByteValue in interface Notificationpublic char getOldCharValue()
getOldCharValue in interface Notificationpublic char getNewCharValue()
getNewCharValue in interface Notificationpublic double getOldDoubleValue()
getOldDoubleValue in interface Notificationpublic double getNewDoubleValue()
getNewDoubleValue in interface Notificationpublic float getOldFloatValue()
getOldFloatValue in interface Notificationpublic float getNewFloatValue()
getNewFloatValue in interface Notificationpublic int getOldIntValue()
getOldIntValue in interface Notificationpublic int getNewIntValue()
getNewIntValue in interface Notificationpublic long getOldLongValue()
getOldLongValue in interface Notificationpublic long getNewLongValue()
getNewLongValue in interface Notificationpublic short getOldShortValue()
getOldShortValue in interface Notificationpublic short getNewShortValue()
getNewShortValue in interface Notificationpublic String getOldStringValue()
getOldStringValue in interface Notificationpublic String getNewStringValue()
getNewStringValue in interface Notification
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||