Package org.eclipse.gef.ui.views.palette
Class PaletteViewerPage
java.lang.Object
org.eclipse.ui.part.Page
org.eclipse.gef.ui.views.palette.PaletteViewerPage
- All Implemented Interfaces:
- IAdaptable,- PalettePage,- IPage,- IPageBookViewPage
- Direct Known Subclasses:
- GraphicalEditorWithFlyoutPalette.CustomPalettePage
The default page for the PaletteView that works in conjunction with a
 PaletteViewerProvider.
- Since:
- 3.0
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected PaletteViewerProviderThe PaletteViewerProvider that is used to create the PaletteViewerprotected PaletteViewerThe PaletteViewer created for this page
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcreateControl(Composite parent) Creates the palette viewer and its control.voiddispose()Releases the palette viewer from the edit domain<T> TgetAdapter(Class<T> adapter) voidsetFocus()Sets focus on the palette's controlMethods inherited from class org.eclipse.ui.part.PagegetSite, init, makeContributions, setActionBarsMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.ui.part.IPagesetActionBarsMethods inherited from interface org.eclipse.ui.part.IPageBookViewPagegetSite, init
- 
Field Details- 
providerThe PaletteViewerProvider that is used to create the PaletteViewer
- 
viewerThe PaletteViewer created for this page
 
- 
- 
Constructor Details- 
PaletteViewerPageConstructor- Parameters:
- pvProvider- the provider used to create the palette viewer
 
 
- 
- 
Method Details- 
createControlCreates the palette viewer and its control.- Specified by:
- createControlin interface- IPage
- Specified by:
- createControlin class- Page
- See Also:
 
- 
disposepublic void dispose()Releases the palette viewer from the edit domain
- 
getAdapter- Specified by:
- getAdapterin interface- IAdaptable
- See Also:
 
- 
getControl- Specified by:
- getControlin interface- IPage
- Specified by:
- getControlin class- Page
- Returns:
- the palette viewer's control
- See Also:
 
- 
setFocuspublic void setFocus()Sets focus on the palette's control
 
-