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
FieldsFields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ThumbNailView, which registers as PartListener at the active WorkbenchWindow. -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatePartControl(org.eclipse.swt.widgets.Composite parent) voiddispose()voidpartActivated(org.eclipse.ui.IWorkbenchPart part) voidpartBroughtToTop(org.eclipse.ui.IWorkbenchPart part) voidpartClosed(org.eclipse.ui.IWorkbenchPart part) voidpartDeactivated(org.eclipse.ui.IWorkbenchPart part) voidpartOpened(org.eclipse.ui.IWorkbenchPart part) voidsetFocus()Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartNameMethods 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, showBusyMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods 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:
createPartControlin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
createPartControlin classorg.eclipse.ui.part.WorkbenchPart
-
setFocus
public void setFocus()- Specified by:
setFocusin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
setFocusin classorg.eclipse.ui.part.WorkbenchPart
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.eclipse.ui.IWorkbenchPart- Overrides:
disposein classorg.eclipse.ui.part.WorkbenchPart
-
partActivated
public void partActivated(org.eclipse.ui.IWorkbenchPart part) - Specified by:
partActivatedin interfaceorg.eclipse.ui.IPartListener
-
partBroughtToTop
public void partBroughtToTop(org.eclipse.ui.IWorkbenchPart part) - Specified by:
partBroughtToTopin interfaceorg.eclipse.ui.IPartListener
-
partClosed
public void partClosed(org.eclipse.ui.IWorkbenchPart part) - Specified by:
partClosedin interfaceorg.eclipse.ui.IPartListener
-
partDeactivated
public void partDeactivated(org.eclipse.ui.IWorkbenchPart part) - Specified by:
partDeactivatedin interfaceorg.eclipse.ui.IPartListener
-
partOpened
public void partOpened(org.eclipse.ui.IWorkbenchPart part) - Specified by:
partOpenedin interfaceorg.eclipse.ui.IPartListener
-