public class PinAssemblyEditPartFactory
extends java.lang.Object
implements org.eclipse.gef.EditPartFactory
PinAssemblyGridEditPart
s for the
Grid and PinAssemblyCellEditPart
s for the Cells.Constructor and Description |
---|
PinAssemblyEditPartFactory(IGridListener listener)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.gef.EditPart |
createEditPart(org.eclipse.gef.EditPart context,
java.lang.Object model)
Overrides the default behavior to connect Grids and Cells to their
corresponding EditParts (GridEditPart and CellEditPart).
|
public PinAssemblyEditPartFactory(IGridListener listener)
listener
- An IGridListener that listens for click/selection events for
the Cells.public org.eclipse.gef.EditPart createEditPart(org.eclipse.gef.EditPart context, java.lang.Object model)
createEditPart
in interface org.eclipse.gef.EditPartFactory