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, setInitializationData
addPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
getAdapter
public static final java.lang.String VIEW_ID
public ThumbNailView()
public void createPartControl(Composite parent)
createPartControl
in interface IWorkbenchPart
createPartControl
in class WorkbenchPart
public void setFocus()
setFocus
in interface IWorkbenchPart
setFocus
in class WorkbenchPart
public void dispose()
dispose
in interface IWorkbenchPart
dispose
in class WorkbenchPart
public void partActivated(IWorkbenchPart part)
partActivated
in interface IPartListener
public void partBroughtToTop(IWorkbenchPart part)
partBroughtToTop
in interface IPartListener
public void partClosed(IWorkbenchPart part)
partClosed
in interface IPartListener
public void partDeactivated(IWorkbenchPart part)
partDeactivated
in interface IPartListener
public void partOpened(IWorkbenchPart part)
partOpened
in interface IPartListener