public class PaletteSeparatorFactory extends PaletteEntryFactory
PaletteSeparators
.Constructor and Description |
---|
PaletteSeparatorFactory()
Constructor
|
Modifier and Type | Method and Description |
---|---|
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, createNewEntry, determineContainerForNewEntry, determineIndexForNewEntry, getImageDescriptor, getLabel, setImageDescriptor, setLabel
public PaletteEntry createNewEntry(Shell shell)
PaletteEntryFactory
createNewEntry
in class PaletteEntryFactory
shell
- 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)
PaletteEntryFactory
Sub-classes may override this method.
determineTypeForNewEntry
in class PaletteEntryFactory
selected
- The selected entryPaletteEntryFactory.determineTypeForNewEntry(org.eclipse.gef.palette.PaletteEntry)
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.