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
protected class GraphicalEditorWithFlyoutPalette.CustomPalettePage
- extends PaletteViewerPage
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphicalEditorWithFlyoutPalette.CustomPalettePage
public GraphicalEditorWithFlyoutPalette.CustomPalettePage(PaletteViewerProvider provider)
- Constructor
- Parameters:
provider
- the provider used to create a PaletteViewer
createControl
public void createControl(Composite parent)
- Description copied from class:
PaletteViewerPage
- Creates the palette viewer and its control.
- Specified by:
createControl
in interface IPage
- Overrides:
createControl
in class PaletteViewerPage
- See Also:
IPage.createControl(org.eclipse.swt.widgets.Composite)
dispose
public void dispose()
- Description copied from class:
PaletteViewerPage
- Releases the palette viewer from the edit domain
- Specified by:
dispose
in interface IPage
- Overrides:
dispose
in class PaletteViewerPage
- See Also:
IPage.dispose()
getPaletteViewer
public PaletteViewer getPaletteViewer()
- Returns:
- the PaletteViewer created and displayed by this page
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.