Class PaletteDrawerFactory
java.lang.Object
org.eclipse.gef.ui.palette.customize.PaletteEntryFactory
org.eclipse.gef.ui.palette.customize.PaletteContainerFactory
org.eclipse.gef.ui.palette.customize.PaletteDrawerFactory
Factory to create 
categories- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected PaletteEntrycreateNewEntry(Shell shell) Create the PaletteEntryprotected ObjectdetermineTypeForNewEntry(PaletteEntry selected) Given the current selection, this method determines the type of the new entry to be created.Methods inherited from class org.eclipse.gef.ui.palette.customize.PaletteContainerFactorycanCreate, determineContainerForNewEntry, determineIndexForNewEntryMethods inherited from class org.eclipse.gef.ui.palette.customize.PaletteEntryFactorycreateNewEntry, getImageDescriptor, getLabel, setImageDescriptor, setLabel
- 
Constructor Details- 
PaletteDrawerFactorypublic PaletteDrawerFactory()Constructor
 
- 
- 
Method Details- 
createNewEntryDescription copied from class:PaletteEntryFactoryCreate the PaletteEntry- Specified by:
- createNewEntryin class- PaletteEntryFactory
- Parameters:
- shell- The- Shellof the- PaletteCustomizerDialog; it can be used to create another warning or information dialog.
- Returns:
- The newly created entry
- See Also:
 
- 
determineTypeForNewEntryDescription copied from class:PaletteEntryFactoryGiven the current selection, this method determines the type of the new entry to be created.Sub-classes may override this method. - Overrides:
- determineTypeForNewEntryin class- PaletteEntryFactory
- Parameters:
- selected- The selected entry
- Returns:
- The type of the new entry to be created
- See Also:
 
 
-