org.eclipse.gef.ui.parts
Class GraphicalEditorWithPalette
java.lang.Object
|
+--org.eclipse.ui.part.WorkbenchPart
|
+--org.eclipse.ui.part.EditorPart
|
+--org.eclipse.gef.ui.parts.GraphicalEditor
|
+--org.eclipse.gef.ui.parts.GraphicalEditorWithPalette
- All Implemented Interfaces:
- CommandStackListener, IAdaptable, IEditorPart, IExecutableExtension, ISaveablePart, ISelectionListener, IWorkbenchPart
- public abstract class GraphicalEditorWithPalette
- extends GraphicalEditor
Methods inherited from class org.eclipse.gef.ui.parts.GraphicalEditor |
commandStackChanged, configureGraphicalViewer, createActions, createGraphicalViewer, dispose, firePropertyChange, getActionRegistry, getAdapter, getCommandStack, getEditDomain, getGraphicalViewer, getPropertyActions, getSelectionActions, getSelectionSynchronizer, getStackActions, hookGraphicalViewer, init, initializeActionRegistry, initializeGraphicalViewer, selectionChanged, setActionRegistry, setEditDomain, setFocus, setGraphicalViewer, updateActions |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, getConfigurationElement, getDefaultImage, getSite, getTitle, getTitleImage, removePropertyListener, setInitializationData, setSite, setTitle, setTitleImage, setTitleToolTip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphicalEditorWithPalette
public GraphicalEditorWithPalette()
configurePaletteViewer
protected void configurePaletteViewer()
createPartControl
public void createPartControl(Composite parent)
- Description copied from class:
GraphicalEditor
- Realizes the Editor by creating it's Control.
WARNING: This method may or may not be called by Eclipse prior to GraphicalEditor.dispose()
.
- Specified by:
createPartControl
in interface IWorkbenchPart
- Overrides:
createPartControl
in class GraphicalEditor
getPaletteRoot
protected abstract PaletteRoot getPaletteRoot()
- Returns the model that is used in the PaletteViewer.
getInitialPaletteSize
protected int getInitialPaletteSize()
getPaletteViewer
protected PaletteViewer getPaletteViewer()
- Returns the PaletteViewer.
handlePaletteResized
protected void handlePaletteResized(int newSize)
hookPaletteViewer
protected void hookPaletteViewer()
initializePaletteViewer
protected void initializePaletteViewer()
setPaletteViewer
protected void setPaletteViewer(PaletteViewer paletteViewer)
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.