org.eclipse.gef.ui.views.palette
Class PaletteView
java.lang.Object
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.ui.part.PageBookView
org.eclipse.gef.ui.views.palette.PaletteView
- All Implemented Interfaces:
- IAdaptable, IExecutableExtension, IPartListener, IPersistable, IViewPart, IWorkbenchPart, IWorkbenchPart2, IWorkbenchPartOrientation
- public class PaletteView
- extends PageBookView
The GEF palette view
- Since:
- 3.0
Field Summary |
static String |
ID
The ID for this view. |
Methods inherited from class org.eclipse.ui.part.PageBookView |
createPartControl, dispose, doesPageExist, getAdapter, getCurrentContributingPart, getCurrentPage, getDefaultPage, getPageBook, getPageRec, getPageRec, getPageSite, getSelectionProvider, init, initPage, partBroughtToTop, partClosed, partDeactivated, partOpened, setFocus, showPageRec |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
- The ID for this view. This is the same as the String used to register this view
with the platform's extension point.
- See Also:
- Constant Field Values
PaletteView
public PaletteView()
createDefaultPage
protected IPage createDefaultPage(PageBook book)
- Creates a default page saying that a palette is not available.
- See Also:
PageBookView.createDefaultPage(org.eclipse.ui.part.PageBook)
doCreatePage
protected PageBookView.PageRec doCreatePage(IWorkbenchPart part)
- See Also:
PageBookView.doCreatePage(org.eclipse.ui.IWorkbenchPart)
doDestroyPage
protected void doDestroyPage(IWorkbenchPart part,
PageBookView.PageRec rec)
- See Also:
PageBookView.doDestroyPage(org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.part.PageBookView.PageRec)
getBootstrapPart
protected IWorkbenchPart getBootstrapPart()
- The view shows the palette associated with the active editor.
- See Also:
PageBookView.getBootstrapPart()
isImportant
protected boolean isImportant(IWorkbenchPart part)
- Only editors are important.
- See Also:
PageBookView.isImportant(org.eclipse.ui.IWorkbenchPart)
partActivated
public void partActivated(IWorkbenchPart part)
- See Also:
IPartListener.partActivated(org.eclipse.ui.IWorkbenchPart)
Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.