public class ThumbNailView extends ViewPart implements IPartListener
GraphicalViewers. The class scans all
editparts and viewparts of the active WorkbenchPage for GraphicalViewer
Adapters and shows a thumbnail view for the first one found. Views are
scanned first.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VIEW_ID |
PROP_TITLE| Constructor and Description |
|---|
ThumbNailView()
Creates a new ThumbNailView, which registers as PartListener at the
active WorkbenchWindow.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createPartControl(Composite parent) |
void |
dispose() |
void |
partActivated(IWorkbenchPart part) |
void |
partBroughtToTop(IWorkbenchPart part) |
void |
partClosed(IWorkbenchPart part) |
void |
partDeactivated(IWorkbenchPart part) |
void |
partOpened(IWorkbenchPart part) |
void |
setFocus() |
getViewSite, init, init, saveState, setInitializationDataaddPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, showBusyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListenergetAdapterpublic static final java.lang.String VIEW_ID
public ThumbNailView()
public void createPartControl(Composite parent)
createPartControl in interface IWorkbenchPartcreatePartControl in class WorkbenchPartpublic void setFocus()
setFocus in interface IWorkbenchPartsetFocus in class WorkbenchPartpublic void dispose()
dispose in interface IWorkbenchPartdispose in class WorkbenchPartpublic void partActivated(IWorkbenchPart part)
partActivated in interface IPartListenerpublic void partBroughtToTop(IWorkbenchPart part)
partBroughtToTop in interface IPartListenerpublic void partClosed(IWorkbenchPart part)
partClosed in interface IPartListenerpublic void partDeactivated(IWorkbenchPart part)
partDeactivated in interface IPartListenerpublic void partOpened(IWorkbenchPart part)
partOpened in interface IPartListener