public class PaletteDrawerFactory extends PaletteContainerFactory
categories| Constructor and Description |
|---|
PaletteDrawerFactory()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected PaletteEntry |
createNewEntry(Shell shell)
Create the PaletteEntry
|
protected java.lang.Object |
determineTypeForNewEntry(PaletteEntry selected)
Given the current selection, this method determines the type of the new
entry to be created.
|
canCreate, determineContainerForNewEntry, determineIndexForNewEntrycreateNewEntry, getImageDescriptor, getLabel, setImageDescriptor, setLabelprotected PaletteEntry createNewEntry(Shell shell)
PaletteEntryFactorycreateNewEntry in class PaletteEntryFactoryshell - The Shell of the
PaletteCustomizerDialog; it can be used to create
another warning or information dialog.PaletteEntryFactory.createNewEntry(Shell)protected java.lang.Object determineTypeForNewEntry(PaletteEntry selected)
PaletteEntryFactorySub-classes may override this method.
determineTypeForNewEntry in class PaletteEntryFactoryselected - The selected entryPaletteEntryFactory.determineTypeForNewEntry(org.eclipse.gef.palette.PaletteEntry)Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.