Uses of Class
org.eclipse.gef.palette.PaletteEntry
Packages that use PaletteEntry
-
Uses of PaletteEntry in org.eclipse.gef.palette
Subclasses of PaletteEntry in org.eclipse.gef.paletteModifier and TypeClassDescriptionclass
A combination of aPaletteTemplateEntry
andToolEntry
.class
A palette ToolEntry for aConnectionCreationTool
.class
A palette ToolEntry for aCreationTool
.class
A palette ToolEntry for aMarqueeSelectionTool
.class
Default implementation of PaletteContainerclass
A PaletteDrawer is a collapsible container that can have other non-container palette entries.class
A PaletteGroup consists of a group ofPaletteEntry
objects that are uncollapsible .class
Serves as the rootPaletteEntry
for the palette model.class
A separator for the palette
Separators can also be used as markers.class
The model object for a PaletteStack - A stack of tools.class
class
A PaletteGroup consists of a group ofPaletteEntry
objects that are uncollapsible .class
A ToolEntry for aPanningSelectionTool
.class
A ToolEntry for aSelectionTool
.class
A factory for returning Tools.Fields in org.eclipse.gef.palette with type parameters of type PaletteEntryModifier and TypeFieldDescriptionprotected List<PaletteEntry>
PaletteContainer.children
This container's contentsMethods in org.eclipse.gef.palette that return PaletteEntryModifier and TypeMethodDescriptionPaletteStack.getActiveEntry()
Returns the PaletteEntry referring to the active entry that should be shown in the palette.Methods in org.eclipse.gef.palette that return types with arguments of type PaletteEntryMethods in org.eclipse.gef.palette with parameters of type PaletteEntryModifier and TypeMethodDescriptionvoid
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
(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.Method parameters in org.eclipse.gef.palette with type arguments of type PaletteEntryModifier and TypeMethodDescriptionvoid
PaletteContainer.addAll
(List<PaletteEntry> list) Adds the list ofPaletteEntry
objects to this PaletteContainer.void
PaletteStack.addAll
(List<PaletteEntry> list) void
PaletteContainer.setChildren
(List<PaletteEntry> list) Sets the children of this PaletteContainer to the given list ofPaletteEntry
objects.void
PaletteStack.setChildren
(List<PaletteEntry> list) Constructor parameters in org.eclipse.gef.palette with type arguments of type PaletteEntryModifierConstructorDescriptionPaletteGroup
(String label, List<PaletteEntry> children) Creates a new PaletteGroup with the given label and list ofPalette Entries
.PaletteToolbar
(String label, List<PaletteEntry> children) Creates a new PaletteGroup with the given label and list ofPalette Entries
. -
Uses of PaletteEntry in org.eclipse.gef.ui.palette
Methods in org.eclipse.gef.ui.palette with parameters of type PaletteEntryModifier and TypeMethodDescriptionprotected 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.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 PaletteEntryModifier and TypeMethodDescriptionprotected PaletteEntry
PaletteDrawerFactory.createNewEntry
(Shell shell) protected abstract PaletteEntry
PaletteEntryFactory.createNewEntry
(Shell shell) Create the PaletteEntryPaletteEntryFactory.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) PaletteSeparatorFactory.createNewEntry
(Shell shell) protected PaletteEntry
PaletteStackFactory.createNewEntry
(Shell shell) 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 PaletteEntryModifier and TypeMethodDescriptionboolean
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.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.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 Object
PaletteDrawerFactory.determineTypeForNewEntry
(PaletteEntry selected) protected Object
PaletteEntryFactory.determineTypeForNewEntry
(PaletteEntry selected) Given the current selection, this method determines the type of the new entry to be created.protected Object
PaletteSeparatorFactory.determineTypeForNewEntry
(PaletteEntry selected) protected 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.