public static class AdapterFactoryContentProvider.ViewerRefresh
extends java.lang.Object
implements java.lang.Runnable
org.eclipse.jface.viewers.Viewer
via standard APIs, based on
queued IViewerNotification
s from the model's item providers.Constructor and Description |
---|
AdapterFactoryContentProvider.ViewerRefresh(Viewer viewer) |
AdapterFactoryContentProvider.ViewerRefresh(Viewer viewer,
IViewerNotification notification)
Deprecated.
in 2.2.0
|
Modifier and Type | Method and Description |
---|---|
boolean |
addNotification(IViewerNotification notification)
Adds a viewer notification to the queue that will be processed by this
ViewerRefresh . |
protected IViewerNotification |
merge(IViewerNotification n1,
IViewerNotification n2)
Compares two notifications and, if duplicative, returns a single notification that does the work of
both.
|
protected void |
refresh(IViewerNotification notification) |
void |
run() |
public AdapterFactoryContentProvider.ViewerRefresh(Viewer viewer)
@Deprecated public AdapterFactoryContentProvider.ViewerRefresh(Viewer viewer, IViewerNotification notification)
public boolean addNotification(IViewerNotification notification)
ViewerRefresh
.
Duplicative notifications will not be queued.notification
- the notification to add to the queueViewerRefresh
needs to be scheduled
on the event queueprotected IViewerNotification merge(IViewerNotification n1, IViewerNotification n2)
public void run()
run
in interface java.lang.Runnable
protected void refresh(IViewerNotification notification)