|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider.ViewerRefresh
public static class AdapterFactoryContentProvider.ViewerRefresh
A runnable class that efficiently updates a Viewer
via standard APIs, based on
queued IViewerNotification
s from the model's item providers.
Constructor Summary | |
---|---|
AdapterFactoryContentProvider.ViewerRefresh(Viewer viewer)
|
|
AdapterFactoryContentProvider.ViewerRefresh(Viewer viewer,
IViewerNotification notification)
Deprecated. in 2.2.0 |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdapterFactoryContentProvider.ViewerRefresh(Viewer viewer)
@Deprecated public AdapterFactoryContentProvider.ViewerRefresh(Viewer viewer, IViewerNotification notification)
Method Detail |
---|
public boolean addNotification(IViewerNotification notification)
ViewerRefresh
.
Duplicative notifications will not be queued.
notification
- the notification to add to the queue
ViewerRefresh
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)
|
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 |