|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider.ViewerRefresh
A runnable class that efficiently updates a Viewer via standard APIs, based on
queued IViewerNotifications 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)
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 queue
protected IViewerNotification merge(IViewerNotification n1,
IViewerNotification n2)
public void run()
run in interface Runnableprotected 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 | ||||||||||