|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.gef.ui.palette.PaletteEditPartFactory
Factory to create EditParts for different PaletteEntries.
Constructor Summary | |
PaletteEditPartFactory()
|
Method Summary | |
protected EditPart |
createDrawerEditPart(EditPart parentEditPart,
Object model)
Create DrawerEditPart - edit part for PaletteDrawer |
EditPart |
createEditPart(EditPart parentEditPart,
Object model)
Creates a new EditPart given the specified context and model. |
protected EditPart |
createEntryEditPart(EditPart parentEditPart,
Object model)
Create ToolEntryEditPart - edit part for ToolEntry |
protected EditPart |
createGroupEditPart(EditPart parentEditPart,
Object model)
Create GroupEditPart - edit part for PaletteGroup |
protected EditPart |
createMainPaletteEditPart(EditPart parentEditPart,
Object model)
Create SliderPaletteEditPart - edit part for PaletteRoot |
protected EditPart |
createSeparatorEditPart(EditPart parentEditPart,
Object model)
Create SeparatorEditPart - edit part for PaletteSeparator |
protected EditPart |
createTemplateEditPart(EditPart parentEditPart,
Object model)
Create TemplateEditPart - edit part for PaletteTemplateEntry |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PaletteEditPartFactory()
Method Detail |
protected EditPart createDrawerEditPart(EditPart parentEditPart, Object model)
parentEditPart
- the parent of the new editpart to be createdmodel
- the PaletteDrawer
public EditPart createEditPart(EditPart parentEditPart, Object model)
EditPartFactory
createEditPart
in interface EditPartFactory
parentEditPart
- The context in which the EditPart is being created, such as its parent.model
- the model of the EditPart being created
EditPartFactory.createEditPart(EditPart, Object)
protected EditPart createSeparatorEditPart(EditPart parentEditPart, Object model)
parentEditPart
- the parent of the new editpart to be createdmodel
- the PaletteSeparator
protected EditPart createEntryEditPart(EditPart parentEditPart, Object model)
parentEditPart
- the parent of the new editpart to be createdmodel
- the ToolEntry
protected EditPart createGroupEditPart(EditPart parentEditPart, Object model)
parentEditPart
- the parent of the new editpart to be createdmodel
- the PaletteGroup
protected EditPart createMainPaletteEditPart(EditPart parentEditPart, Object model)
parentEditPart
- the parent of the new editpart to be createdmodel
- the PaletteRoot
protected EditPart createTemplateEditPart(EditPart parentEditPart, Object model)
parentEditPart
- the parent of the new editpart to be createdmodel
- the PaletteTemplateEntry
|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |