public class AssemblyCellEditPart extends CircularCellEditPart
AssemblyEditPartFactory
.CellEditPart.MyMarquee
REQ_ADD, REQ_ALIGN, REQ_ALIGN_CHILDREN, REQ_CLONE, REQ_CONNECTION_END, REQ_CONNECTION_START, REQ_CREATE, REQ_CREATE_BENDPOINT, REQ_DELETE, REQ_DELETE_DEPENDANT, REQ_DIRECT_EDIT, REQ_MOVE, REQ_MOVE_BENDPOINT, REQ_MOVE_CHILDREN, REQ_OPEN, REQ_ORPHAN, REQ_ORPHAN_CHILDREN, REQ_RECONNECT_SOURCE, REQ_RECONNECT_TARGET, REQ_RESIZE, REQ_RESIZE_CHILDREN, REQ_SELECTION, REQ_SELECTION_HOVER
Constructor and Description |
---|
AssemblyCellEditPart(IGridListener listener)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.gef.DragTracker |
getDragTracker(org.eclipse.gef.Request req)
This method returns a dragTracker to use for selection of EditParts.
|
void |
setComponent(LWRComponent lwrComp,
IDataProvider lwrData)
Sets the SFRComponent tied to this EditPart and its associated Figure.
|
setState, showLabel
activate, addNodeListener, addNotify, deactivate, getAdapter, getContentPane, getFigure, getSourceConnections, getTargetConnections, isSelectable, refresh, removeNodeListener, removeNotify, setLayoutConstraint
addEditPartListener, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, performRequest, removeEditPartListener, removeEditPolicy, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, toString, understandsRequest
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addEditPartListener, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, performRequest, removeEditPartListener, removeEditPolicy, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequest
public AssemblyCellEditPart(IGridListener listener)
listener
- An IGridListener that listens for Cell click/selection events.public void setComponent(LWRComponent lwrComp, IDataProvider lwrData)
lwrComp
- The new SFRComponent (typically an SFRPin).lwrData
- The IDataProvider associated with it.public org.eclipse.gef.DragTracker getDragTracker(org.eclipse.gef.Request req)
getDragTracker
in interface org.eclipse.gef.EditPart
getDragTracker
in class CellEditPart