public interface EditPartFactory
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.Modifier and Type | Method and Description |
---|---|
EditPart |
createEditPart(EditPart context,
java.lang.Object model)
Creates a new EditPart given the specified context and
model.
|
EditPart createEditPart(EditPart context, java.lang.Object model)
context
- The context in which the EditPart is being created, such as
its parent.model
- the model of the EditPart being createdCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.