public class ThumbNailView
extends org.eclipse.ui.part.ViewPart
implements org.eclipse.ui.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 |
Constructor and Description |
---|
ThumbNailView()
Creates a new ThumbNailView, which registers as PartListener at the
active WorkbenchWindow.
|
Modifier and Type | Method and Description |
---|---|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent) |
void |
dispose() |
void |
partActivated(org.eclipse.ui.IWorkbenchPart part) |
void |
partBroughtToTop(org.eclipse.ui.IWorkbenchPart part) |
void |
partClosed(org.eclipse.ui.IWorkbenchPart part) |
void |
partDeactivated(org.eclipse.ui.IWorkbenchPart part) |
void |
partOpened(org.eclipse.ui.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
public static final java.lang.String VIEW_ID
public ThumbNailView()
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class org.eclipse.ui.part.WorkbenchPart
public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart
public void dispose()
dispose
in interface org.eclipse.ui.IWorkbenchPart
dispose
in class org.eclipse.ui.part.WorkbenchPart
public void partActivated(org.eclipse.ui.IWorkbenchPart part)
partActivated
in interface org.eclipse.ui.IPartListener
public void partBroughtToTop(org.eclipse.ui.IWorkbenchPart part)
partBroughtToTop
in interface org.eclipse.ui.IPartListener
public void partClosed(org.eclipse.ui.IWorkbenchPart part)
partClosed
in interface org.eclipse.ui.IPartListener
public void partDeactivated(org.eclipse.ui.IWorkbenchPart part)
partDeactivated
in interface org.eclipse.ui.IPartListener
public void partOpened(org.eclipse.ui.IWorkbenchPart part)
partOpened
in interface org.eclipse.ui.IPartListener