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, primitiveType
ADD, 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, wasSet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEventType, 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, wasSet
protected 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()
Notification
getNotifier
in interface Notification
getNotifier
in class NotificationImpl
public void dispatch()
NotificationChain
Notifier.eNotify
.dispatch
in interface NotificationChain
dispatch
in class NotificationImpl
public java.lang.Object getElement()
IViewerNotification
getElement
in interface IViewerNotification
public boolean isContentRefresh()
IViewerNotification
isContentRefresh
in interface IViewerNotification
public boolean isLabelUpdate()
IViewerNotification
isLabelUpdate
in interface IViewerNotification