@FunctionalInterface public interface ViewerRefreshManager
REFRESH_MANAGER
key.Modifier and Type | Field and Description |
---|---|
static String |
REFRESH_MANAGER
Viewer data key for the refresh manager.
|
Modifier and Type | Method and Description |
---|---|
static ViewerRefreshManager |
getInstance(org.eclipse.jface.viewers.Viewer viewer)
Obtain the refresh manager instance for the given
viewer . |
static Runnable |
getRefreshRunnable(org.eclipse.jface.viewers.Viewer viewer)
Obtain a runnable that refreshes a
viewer . |
void |
postRefresh()
Post an asynchronous request to refresh the table viewer.
|
static final String REFRESH_MANAGER
void postRefresh()
static ViewerRefreshManager getInstance(org.eclipse.jface.viewers.Viewer viewer)
viewer
.viewer
- a viewernull
static Runnable getRefreshRunnable(org.eclipse.jface.viewers.Viewer viewer)
viewer
.viewer
- a viewer to refreshViewer.refresh()
Copyright © 2019. All rights reserved.