|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A factory for creating new EditParts. EditPartViewers
can be
configured with an EditPartFactory
. Whenever an EditPart
in
that viewer needs to create another EditPart, it can use the Viewer's factory. The
factory is also used by the viewer whenever EditPartViewer.setContents(Object)
is called.
Method Summary | |
EditPart |
createEditPart(EditPart context,
Object model)
Creates a new EditPart given the specified context and model. |
Method Detail |
public EditPart createEditPart(EditPart context, Object model)
context
- The context in which the EditPart is being created, such as its parent.model
- the model of the EditPart being created
|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |