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 for
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.-
Field Summary
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
-
Constructor Summary
ConstructorDescriptionCreates a new ThumbNailView, which registers as PartListener at the active WorkbenchWindow. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
-
Field Details
-
VIEW_ID
- See Also:
-
-
Constructor Details
-
ThumbNailView
public ThumbNailView()Creates a new ThumbNailView, which registers as PartListener at the active WorkbenchWindow.
-
-
Method Details
-
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
-