| java.lang.Object org.tcat.citd.sim.udig.bookmarks.internal.BookmarksContentProvider
BookmarksContentProvider | public class BookmarksContentProvider implements IStructuredContentProvider,ITreeContentProvider,IPartListener(Code) | | The content provider class is responsible for providing objects to the view. It can wrap existing
objects in adapters or simply return objects as-is. These objects may be sensitive to the current
input of the view, or ignore it and always show the same content (like Task List, for example).
author: cole.markham since: 1.0.0 |
BookmarksContentProvider | public BookmarksContentProvider()(Code) | | Default constructor
|
dispose | public void dispose()(Code) | | |
getElements | public Object[] getElements(Object parent)(Code) | | Get the root element -- a single IMap object corresonding to the current map
array of Objects |
getViewers | protected HashMap getViewers()(Code) | | returns current mapping of registered viewers and input objects Usually this involves a Viewe
object
a map of the viewers to input objects |
inputChanged | public void inputChanged(Viewer viewer, Object oldInput, Object newInput)(Code) | | |
partActivated | public void partActivated(IWorkbenchPart part)(Code) | | |
partBroughtToTop | public void partBroughtToTop(IWorkbenchPart part)(Code) | | |
partClosed | public void partClosed(IWorkbenchPart part)(Code) | | |
partDeactivated | public void partDeactivated(IWorkbenchPart part)(Code) | | |
partOpened | public void partOpened(IWorkbenchPart part)(Code) | | |
refresh | public void refresh(Viewer v, boolean asynch)(Code) | | refreshes the given viewer in the UI thread
Parameters: asynch - set to true for asynchronous refresh, false for synchronous Parameters: v - viewer to refresh |
refresh | public void refresh(Collection<Viewer> c, boolean asynch)(Code) | | refreshes the given collection of viewers in the UI thread
Parameters: c - Parameters: asynch - set to true for asynchronous refresh, false for synchronous |
setCurrentMap | public void setCurrentMap(MapReference currentMap)(Code) | | Parameters: currentMap - The currentMap to set. |
|
|