public class CellEditPart
extends org.eclipse.gef.editparts.AbstractGraphicalEditPart
Cell
. In particular, it is
responsible for View creation and EditPolicies for each Cell.Modifier and Type | Class and Description |
---|---|
static class |
CellEditPart.MyMarquee
The only customization currently implemented for this dragTracker is to
toggle all EditParts that are touched by its bounding box when the mouse
button is released.
|
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 |
---|
CellEditPart() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.gef.DragTracker |
getDragTracker(org.eclipse.gef.Request req)
This method returns a dragTracker to use for multi-selection of
EditParts.
|
void |
setState(Cell.State state) |
void |
showLabel()
Adds a label to the CellFigure.
|
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 void setState(Cell.State state)
public void showLabel()
public org.eclipse.gef.DragTracker getDragTracker(org.eclipse.gef.Request req)
getDragTracker
in interface org.eclipse.gef.EditPart
getDragTracker
in class org.eclipse.gef.editparts.AbstractGraphicalEditPart