Class ThumbNailView
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.ui.part.WorkbenchPart
-
- org.eclipse.ui.part.ViewPart
-
- org.eclipse.graphiti.ui.internal.editor.ThumbNailView
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.core.runtime.IExecutableExtension
,org.eclipse.ui.IPartListener
,org.eclipse.ui.IPersistable
,org.eclipse.ui.IViewPart
,org.eclipse.ui.IWorkbenchPart
,org.eclipse.ui.IWorkbenchPart2
,org.eclipse.ui.IWorkbenchPart3
,org.eclipse.ui.part.IWorkbenchPartOrientation
public class ThumbNailView extends org.eclipse.ui.part.ViewPart implements org.eclipse.ui.IPartListener
A Thumbnail view forGraphicalViewers
. 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.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
VIEW_ID
-
Constructor Summary
Constructors Constructor Description ThumbNailView()
Creates a new ThumbNailView, which registers as PartListener at the active WorkbenchWindow.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
-
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
-
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
-
-
-
Field Detail
-
VIEW_ID
public static final java.lang.String VIEW_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
createPartControl
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createPartControl
in interfaceorg.eclipse.ui.IWorkbenchPart
- Specified by:
createPartControl
in classorg.eclipse.ui.part.WorkbenchPart
-
setFocus
public void setFocus()
- Specified by:
setFocus
in interfaceorg.eclipse.ui.IWorkbenchPart
- Specified by:
setFocus
in classorg.eclipse.ui.part.WorkbenchPart
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceorg.eclipse.ui.IWorkbenchPart
- Overrides:
dispose
in classorg.eclipse.ui.part.WorkbenchPart
-
partActivated
public void partActivated(org.eclipse.ui.IWorkbenchPart part)
- Specified by:
partActivated
in interfaceorg.eclipse.ui.IPartListener
-
partBroughtToTop
public void partBroughtToTop(org.eclipse.ui.IWorkbenchPart part)
- Specified by:
partBroughtToTop
in interfaceorg.eclipse.ui.IPartListener
-
partClosed
public void partClosed(org.eclipse.ui.IWorkbenchPart part)
- Specified by:
partClosed
in interfaceorg.eclipse.ui.IPartListener
-
partDeactivated
public void partDeactivated(org.eclipse.ui.IWorkbenchPart part)
- Specified by:
partDeactivated
in interfaceorg.eclipse.ui.IPartListener
-
partOpened
public void partOpened(org.eclipse.ui.IWorkbenchPart part)
- Specified by:
partOpened
in interfaceorg.eclipse.ui.IPartListener
-
-