Package org.eclipse.gef.ui.parts
Class GraphicalEditorWithFlyoutPalette.CustomPalettePage
java.lang.Object
org.eclipse.ui.part.Page
org.eclipse.gef.ui.views.palette.PaletteViewerPage
org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette.CustomPalettePage
- All Implemented Interfaces:
- IAdaptable,- PalettePage,- IPage,- IPageBookViewPage
- Enclosing class:
- GraphicalEditorWithFlyoutPalette
A custom PalettePage that helps GraphicalEditorWithFlyoutPalette keep the two
 PaletteViewers (one displayed in the editor and the other displayed in the
 PaletteView) in sync when switching from one to the other (i.e., it helps
 maintain state across the two viewers).
- Since:
- 3.0
- 
Field SummaryFields inherited from class org.eclipse.gef.ui.views.palette.PaletteViewerPageprovider, viewer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcreateControl(Composite parent) Creates the palette viewer and its control.voiddispose()Releases the palette viewer from the edit domainMethods inherited from class org.eclipse.gef.ui.views.palette.PaletteViewerPagegetAdapter, getControl, setFocusMethods 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
- 
Constructor Details- 
CustomPalettePageConstructor- Parameters:
- provider- the provider used to create a PaletteViewer
 
 
- 
- 
Method Details- 
createControlDescription copied from class:PaletteViewerPageCreates the palette viewer and its control.- Specified by:
- createControlin interface- IPage
- Overrides:
- createControlin class- PaletteViewerPage
- See Also:
 
- 
disposepublic void dispose()Description copied from class:PaletteViewerPageReleases the palette viewer from the edit domain- Specified by:
- disposein interface- IPage
- Overrides:
- disposein class- PaletteViewerPage
- See Also:
 
- 
getPaletteViewer- Returns:
- the PaletteViewer created and displayed by this page
 
 
-