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 classCombinedTemplateCreationEntryA combination of aPaletteTemplateEntryandToolEntry.classConnectionCreationToolEntryA palette ToolEntry for aConnectionCreationTool.classCreationToolEntryA palette ToolEntry for aCreationTool.classMarqueeToolEntryA palette ToolEntry for aMarqueeSelectionTool.classPaletteContainerDefault implementation of PaletteContainerclassPaletteDrawerA PaletteDrawer is a collapsible container that can have other non-container palette entries.classPaletteGroupA PaletteGroup consists of a group ofPaletteEntryobjects that are uncollapsible .classPaletteRootServes as the rootPaletteEntryfor the palette model.classPaletteSeparatorA separator for the palette
Separators can also be used as markers.classPaletteStackThe model object for a PaletteStack - A stack of tools.classPaletteTemplateEntryclassPaletteToolbarA PaletteGroup consists of a group ofPaletteEntryobjects that are uncollapsible .classPanningSelectionToolEntryA ToolEntry for aPanningSelectionTool.classSelectionToolEntryA ToolEntry for aSelectionTool.classToolEntryA factory for returning Tools.Methods in org.eclipse.gef.palette that return PaletteEntry Modifier and Type Method Description PaletteEntryPaletteStack. 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 voidPaletteContainer. add(int index, PaletteEntry entry)Adds the given PaletteEntry at positionindex.voidPaletteContainer. add(PaletteEntry entry)Adds the given entry to the end of this PaletteContainervoidPaletteStack. add(int index, PaletteEntry entry)voidPaletteStack. add(PaletteEntry entry)voidPaletteContainer. appendToSection(java.lang.String id, PaletteEntry entry)Appends the given entry after the entry with the given id, but before the next separator.booleanPaletteContainer. moveDown(PaletteEntry entry)Moves the given entry down, if possible.booleanPaletteContainer. moveUp(PaletteEntry entry)Moves the given entry up, if possible.voidPaletteContainer. remove(PaletteEntry entry)Removes the given PaletteEntry from this PaletteContainervoidPaletteStack. remove(PaletteEntry entry)voidPaletteStack. 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 booleanPaletteCustomizer. canAdd(PaletteContainer container, PaletteEntry entry)Return true if this container can accept this entry as a new child.booleanPaletteCustomizer. canDelete(PaletteEntry entry)Indicates whether the given entry can be deleted from the model or not.booleanPaletteCustomizer. canMoveDown(PaletteEntry entry)Indicates whether the given entry can be moved down or not.booleanPaletteCustomizer. canMoveUp(PaletteEntry entry)Indicates whether the given entry can be moved up or not.EntryPagePaletteCustomizer. getPropertiesPage(PaletteEntry entry)Returns an EntryPage that will display the custom properties of the given entry.voidPaletteCustomizer. performDelete(PaletteEntry entry)Updates the model by deleting the given entry from it.voidPaletteCustomizer. performMoveDown(PaletteEntry entry)Updates the model by moving the entry down.voidPaletteCustomizer. 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 PaletteEntryPaletteDrawerFactory. createNewEntry(Shell shell)protected abstract PaletteEntryPaletteEntryFactory. createNewEntry(Shell shell)Create the PaletteEntryPaletteEntryPaletteEntryFactory. createNewEntry(Shell shell, PaletteEntry selected)This method is called when a new palette entry of the type supported by thisPaletteEntryFactoryis to be created.protected PaletteEntryPaletteGroupFactory. createNewEntry(Shell shell)PaletteEntryPaletteSeparatorFactory. createNewEntry(Shell shell)protected PaletteEntryPaletteStackFactory. createNewEntry(Shell shell)PaletteEntryPaletteStackFactory. createNewEntry(Shell shell, PaletteEntry selected)protected PaletteEntryDefaultEntryPage. getEntry()Provides sub-classes with access to the entry this class is monitoring.protected PaletteEntryPaletteCustomizerDialog. getSelectedPaletteEntry()Methods in org.eclipse.gef.ui.palette.customize with parameters of type PaletteEntry Modifier and Type Method Description booleanPaletteContainerFactory. canCreate(PaletteEntry selected)You can always create a new container.booleanPaletteEntryFactory. canCreate(PaletteEntry selected)This method is called by thePaletteCustomizerDialogto determine whether to enable or disable this action on the toolbar and the context menu.booleanPaletteStackFactory. canCreate(PaletteEntry selected)voidDefaultEntryPage. createControl(Composite parent, PaletteEntry entry)voidDrawerEntryPage. createControl(Composite parent, PaletteEntry entry)voidEntryPage. createControl(Composite parent, PaletteEntry entry)Creates the Control that displays the properties of the given entry.PaletteEntryPaletteEntryFactory. createNewEntry(Shell shell, PaletteEntry selected)This method is called when a new palette entry of the type supported by thisPaletteEntryFactoryis to be created.PaletteEntryPaletteStackFactory. createNewEntry(Shell shell, PaletteEntry selected)protected PaletteContainerPaletteContainerFactory. determineContainerForNewEntry(PaletteEntry selected)protected PaletteContainerPaletteEntryFactory. determineContainerForNewEntry(PaletteEntry selected)Given the current selection, this method determines the parent for the new entry to be created.protected intPaletteContainerFactory. determineIndexForNewEntry(PaletteContainer parent, PaletteEntry selected)protected intPaletteEntryFactory. determineIndexForNewEntry(PaletteContainer c, PaletteEntry selected)Calculates the index at which the new entry is to be created, given the current selection.protected java.lang.ObjectPaletteDrawerFactory. determineTypeForNewEntry(PaletteEntry selected)protected java.lang.ObjectPaletteEntryFactory. determineTypeForNewEntry(PaletteEntry selected)Given the current selection, this method determines the type of the new entry to be created.protected java.lang.ObjectPaletteSeparatorFactory. determineTypeForNewEntry(PaletteEntry selected)protected java.lang.ObjectPaletteStackFactory. determineTypeForNewEntry(PaletteEntry selected)protected EntryPagePaletteCustomizerDialog. getEntryPage(PaletteEntry entry)Returns theEntryPagefor the givenPaletteEntry.protected voidPaletteCustomizerDialog. setActiveEntry(PaletteEntry entry)This methods sets the active entry.voidPaletteCustomizerDialog. setDefaultSelection(PaletteEntry entry)Sets the given PaletteEntry as the one to be selected when the dialog opens.
-