public class ItemProvider.ItemProviderNotification extends NotificationImpl implements IViewerNotification
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isContentRefresh |
protected boolean |
isLabelUpdate |
eventType, IS_SET_CHANGE_INDEX, newIEEEPrimitiveValue, newSimplePrimitiveValue, newValue, next, oldIEEEPrimitiveValue, oldSimplePrimitiveValue, oldValue, position, PRIMITIVE_TYPE_BOOLEAN, PRIMITIVE_TYPE_BYTE, PRIMITIVE_TYPE_CHAR, PRIMITIVE_TYPE_DOUBLE, PRIMITIVE_TYPE_FLOAT, PRIMITIVE_TYPE_INT, PRIMITIVE_TYPE_LONG, PRIMITIVE_TYPE_OBJECT, PRIMITIVE_TYPE_SHORT, primitiveTypeADD, ADD_MANY, CREATE, EVENT_TYPE_COUNT, MOVE, NO_FEATURE_ID, NO_INDEX, REMOVE, REMOVE_MANY, REMOVING_ADAPTER, RESOLVE, SET, UNSET| Constructor and Description |
|---|
ItemProvider.ItemProviderNotification(int eventType,
java.lang.Object oldValue,
java.lang.Object newValue,
int position) |
ItemProvider.ItemProviderNotification(int eventType,
java.lang.Object oldValue,
java.lang.Object newValue,
int position,
boolean wasSet) |
ItemProvider.ItemProviderNotification(int eventType,
java.lang.Object oldValue,
java.lang.Object newValue,
int position,
boolean wasSet,
boolean isContentRefesh,
boolean isLabelUpdate) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch()
Dispatches each notification to the appropriate notifier via
Notifier.eNotify. |
java.lang.Object |
getElement()
The element to update or from which to refresh.
|
java.lang.Object |
getNotifier()
Returns the object affected by the change.
|
boolean |
isContentRefresh()
Whether the content under the element should be structurally refreshed.
|
boolean |
isLabelUpdate()
Whether the label and icon for the element should be updated.
|
add, getEventType, getFeature, getFeatureDefaultValue, getFeatureID, getNewBooleanValue, getNewByteValue, getNewCharValue, getNewDoubleValue, getNewFloatValue, getNewIntValue, getNewLongValue, getNewShortValue, getNewStringValue, getNewValue, getOldBooleanValue, getOldByteValue, getOldCharValue, getOldDoubleValue, getOldFloatValue, getOldIntValue, getOldLongValue, getOldShortValue, getOldStringValue, getOldValue, getPosition, isFeatureUnsettable, isReset, isTouch, merge, toString, wasSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEventType, getFeature, getFeatureID, getNewBooleanValue, getNewByteValue, getNewCharValue, getNewDoubleValue, getNewFloatValue, getNewIntValue, getNewLongValue, getNewShortValue, getNewStringValue, getNewValue, getOldBooleanValue, getOldByteValue, getOldCharValue, getOldDoubleValue, getOldFloatValue, getOldIntValue, getOldLongValue, getOldShortValue, getOldStringValue, getOldValue, getPosition, isReset, isTouch, merge, wasSetprotected boolean isContentRefresh
protected boolean isLabelUpdate
public ItemProvider.ItemProviderNotification(int eventType,
java.lang.Object oldValue,
java.lang.Object newValue,
int position)
public ItemProvider.ItemProviderNotification(int eventType,
java.lang.Object oldValue,
java.lang.Object newValue,
int position,
boolean wasSet)
public ItemProvider.ItemProviderNotification(int eventType,
java.lang.Object oldValue,
java.lang.Object newValue,
int position,
boolean wasSet,
boolean isContentRefesh,
boolean isLabelUpdate)
public java.lang.Object getNotifier()
NotificationgetNotifier in interface NotificationgetNotifier in class NotificationImplpublic void dispatch()
NotificationChainNotifier.eNotify.dispatch in interface NotificationChaindispatch in class NotificationImplpublic java.lang.Object getElement()
IViewerNotificationgetElement in interface IViewerNotificationpublic boolean isContentRefresh()
IViewerNotificationisContentRefresh in interface IViewerNotificationpublic boolean isLabelUpdate()
IViewerNotificationisLabelUpdate in interface IViewerNotification