Uses of Class
org.eclipse.gef.palette.PaletteEntry
-
Packages that use PaletteEntry Package Description org.eclipse.gef.palette This package defines and implements the model used by thePaletteViewer
.org.eclipse.gef.ui.palette org.eclipse.gef.ui.palette.customize -
-
Uses of PaletteEntry in org.eclipse.gef.palette
Subclasses of PaletteEntry in org.eclipse.gef.palette Modifier and Type Class Description class
CombinedTemplateCreationEntry
A combination of aPaletteTemplateEntry
andToolEntry
.class
ConnectionCreationToolEntry
A palette ToolEntry for aConnectionCreationTool
.class
CreationToolEntry
A palette ToolEntry for aCreationTool
.class
MarqueeToolEntry
A palette ToolEntry for aMarqueeSelectionTool
.class
PaletteContainer
Default implementation of PaletteContainerclass
PaletteDrawer
A PaletteDrawer is a collapsible container that can have other non-container palette entries.class
PaletteGroup
A PaletteGroup consists of a group ofPaletteEntry
objects that are uncollapsible .class
PaletteRoot
Serves as the rootPaletteEntry
for the palette model.class
PaletteSeparator
A separator for the palette
Separators can also be used as markers.class
PaletteStack
The model object for a PaletteStack - A stack of tools.class
PaletteTemplateEntry
class
PaletteToolbar
A PaletteGroup consists of a group ofPaletteEntry
objects that are uncollapsible .class
PanningSelectionToolEntry
A ToolEntry for aPanningSelectionTool
.class
SelectionToolEntry
A ToolEntry for aSelectionTool
.class
ToolEntry
A factory for returning Tools.Methods in org.eclipse.gef.palette that return PaletteEntry Modifier and Type Method Description PaletteEntry
PaletteStack. getActiveEntry()
Returns the PaletteEntry referring to the active entry that should be shown in the palette.Methods in org.eclipse.gef.palette with parameters of type PaletteEntry Modifier and Type Method Description void
PaletteContainer. add(int index, PaletteEntry entry)
Adds the given PaletteEntry at positionindex
.void
PaletteContainer. add(PaletteEntry entry)
Adds the given entry to the end of this PaletteContainervoid
PaletteStack. add(int index, PaletteEntry entry)
void
PaletteStack. add(PaletteEntry entry)
void
PaletteContainer. appendToSection(java.lang.String id, PaletteEntry entry)
Appends the given entry after the entry with the given id, but before the next separator.boolean
PaletteContainer. moveDown(PaletteEntry entry)
Moves the given entry down, if possible.boolean
PaletteContainer. moveUp(PaletteEntry entry)
Moves the given entry up, if possible.void
PaletteContainer. remove(PaletteEntry entry)
Removes the given PaletteEntry from this PaletteContainervoid
PaletteStack. remove(PaletteEntry entry)
void
PaletteStack. setActiveEntry(PaletteEntry entry)
Sets the "active" child entry to the given PaletteEntry. -
Uses of PaletteEntry in org.eclipse.gef.ui.palette
Methods in org.eclipse.gef.ui.palette with parameters of type PaletteEntry Modifier and Type Method Description protected boolean
PaletteCustomizer. canAdd(PaletteContainer container, PaletteEntry entry)
Return true if this container can accept this entry as a new child.boolean
PaletteCustomizer. canDelete(PaletteEntry entry)
Indicates whether the given entry can be deleted from the model or not.boolean
PaletteCustomizer. canMoveDown(PaletteEntry entry)
Indicates whether the given entry can be moved down or not.boolean
PaletteCustomizer. canMoveUp(PaletteEntry entry)
Indicates whether the given entry can be moved up or not.EntryPage
PaletteCustomizer. getPropertiesPage(PaletteEntry entry)
Returns an EntryPage that will display the custom properties of the given entry.void
PaletteCustomizer. performDelete(PaletteEntry entry)
Updates the model by deleting the given entry from it.void
PaletteCustomizer. performMoveDown(PaletteEntry entry)
Updates the model by moving the entry down.void
PaletteCustomizer. performMoveUp(PaletteEntry entry)
Updates the model by moving the entry up. -
Uses of PaletteEntry in org.eclipse.gef.ui.palette.customize
Methods in org.eclipse.gef.ui.palette.customize that return PaletteEntry Modifier and Type Method Description protected PaletteEntry
PaletteDrawerFactory. createNewEntry(Shell shell)
protected abstract PaletteEntry
PaletteEntryFactory. createNewEntry(Shell shell)
Create the PaletteEntryPaletteEntry
PaletteEntryFactory. createNewEntry(Shell shell, PaletteEntry selected)
This method is called when a new palette entry of the type supported by thisPaletteEntryFactory
is to be created.protected PaletteEntry
PaletteGroupFactory. createNewEntry(Shell shell)
PaletteEntry
PaletteSeparatorFactory. createNewEntry(Shell shell)
protected PaletteEntry
PaletteStackFactory. createNewEntry(Shell shell)
PaletteEntry
PaletteStackFactory. createNewEntry(Shell shell, PaletteEntry selected)
protected PaletteEntry
DefaultEntryPage. getEntry()
Provides sub-classes with access to the entry this class is monitoring.protected PaletteEntry
PaletteCustomizerDialog. getSelectedPaletteEntry()
Methods in org.eclipse.gef.ui.palette.customize with parameters of type PaletteEntry Modifier and Type Method Description boolean
PaletteContainerFactory. canCreate(PaletteEntry selected)
You can always create a new container.boolean
PaletteEntryFactory. canCreate(PaletteEntry selected)
This method is called by thePaletteCustomizerDialog
to determine whether to enable or disable this action on the toolbar and the context menu.boolean
PaletteStackFactory. canCreate(PaletteEntry selected)
void
DefaultEntryPage. createControl(Composite parent, PaletteEntry entry)
void
DrawerEntryPage. createControl(Composite parent, PaletteEntry entry)
void
EntryPage. createControl(Composite parent, PaletteEntry entry)
Creates the Control that displays the properties of the given entry.PaletteEntry
PaletteEntryFactory. createNewEntry(Shell shell, PaletteEntry selected)
This method is called when a new palette entry of the type supported by thisPaletteEntryFactory
is to be created.PaletteEntry
PaletteStackFactory. createNewEntry(Shell shell, PaletteEntry selected)
protected PaletteContainer
PaletteContainerFactory. determineContainerForNewEntry(PaletteEntry selected)
protected PaletteContainer
PaletteEntryFactory. determineContainerForNewEntry(PaletteEntry selected)
Given the current selection, this method determines the parent for the new entry to be created.protected int
PaletteContainerFactory. determineIndexForNewEntry(PaletteContainer parent, PaletteEntry selected)
protected int
PaletteEntryFactory. determineIndexForNewEntry(PaletteContainer c, PaletteEntry selected)
Calculates the index at which the new entry is to be created, given the current selection.protected java.lang.Object
PaletteDrawerFactory. determineTypeForNewEntry(PaletteEntry selected)
protected java.lang.Object
PaletteEntryFactory. determineTypeForNewEntry(PaletteEntry selected)
Given the current selection, this method determines the type of the new entry to be created.protected java.lang.Object
PaletteSeparatorFactory. determineTypeForNewEntry(PaletteEntry selected)
protected java.lang.Object
PaletteStackFactory. determineTypeForNewEntry(PaletteEntry selected)
protected EntryPage
PaletteCustomizerDialog. getEntryPage(PaletteEntry entry)
Returns theEntryPage
for the givenPaletteEntry
.protected void
PaletteCustomizerDialog. setActiveEntry(PaletteEntry entry)
This methods sets the active entry.void
PaletteCustomizerDialog. setDefaultSelection(PaletteEntry entry)
Sets the given PaletteEntry as the one to be selected when the dialog opens.
-