|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.ui.palette.PaletteCustomizer
org.eclipse.gmf.runtime.gef.ui.palette.customize.PaletteCustomizerEx
public class PaletteCustomizerEx
Extends GEF's PaletteCustomizer
to support:
Constructor Summary | |
---|---|
PaletteCustomizerEx(IPreferenceStore preferenceStore)
Creates a new instance. |
Method Summary | |
---|---|
void |
applyCustomizationsToPalette(PaletteRoot paletteRoot)
Retrieves the palette customizations from the workspace preferences and applies these customizations to the palette root. |
protected IPaletteState |
createPaletteState(PaletteEntry entry)
Creation factory method for the IPaletteState . |
EntryPage |
getPropertiesPage(PaletteEntry entry)
|
void |
revertToSaved()
|
void |
save()
|
Methods inherited from class org.eclipse.gef.ui.palette.PaletteCustomizer |
---|
canAdd, canDelete, canMoveDown, canMoveUp, getNewEntryFactories, performDelete, performMoveDown, performMoveUp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PaletteCustomizerEx(IPreferenceStore preferenceStore)
preferenceStore
- the preference store in which the palette customizations are
to be saved and retrieved fromMethod Detail |
---|
public EntryPage getPropertiesPage(PaletteEntry entry)
getPropertiesPage
in class PaletteCustomizer
protected IPaletteState createPaletteState(PaletteEntry entry)
IPaletteState
. Clients
may override to provide custom IPaletteStates
.
entry
- the palette entry
IPaletteState
instance.public void revertToSaved()
revertToSaved
in class PaletteCustomizer
public void save()
save
in class PaletteCustomizer
public void applyCustomizationsToPalette(PaletteRoot paletteRoot)
paletteRoot
- the palette root on which to apply the customizations
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.