public class CompositeConnectionEditPart extends ConnectionEditPart
CONNECTION_LAYER, FEEDBACK_LAYER, GRID_LAYER, GUIDE_LAYER, HANDLE_LAYER, PRIMARY_LAYER, PRINTABLE_LAYERS, SCALABLE_LAYERS, SCALED_FEEDBACK_LAYER
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 |
---|
CompositeConnectionEditPart(IConfigurationProviderInternal configurationProvider,
CompositeConnection connection,
PictogramsEditPartFactory factory,
org.eclipse.gef.EditPart contextParent) |
Modifier and Type | Method and Description |
---|---|
void |
forceVisualRefresh() |
java.util.Collection<org.eclipse.gef.ConnectionEditPart> |
getEditParts() |
ConnectionEditPart |
getOriginallySelectedChild()
Returns the child connection that has been selected originally.
|
org.eclipse.gef.EditPart |
getTargetEditPart(org.eclipse.gef.Request request) |
void |
setOriginallySelectedChild(ConnectionEditPart originallySelectedChild)
Sets the child connection that has been selected originally.
|
void |
setSelected(int value) |
void |
setSource(org.eclipse.gef.EditPart editPart) |
void |
setTarget(org.eclipse.gef.EditPart editPart) |
activate, deactivate, getAdapter, getConfigurationProvider, getFeatureProvider, getModelChildren, getModelSourceConnections, getModelTargetConnections, getPictogramElement, getPictogramElementDelegate, getSourceConnectionAnchor, getSourceConnectionAnchor, getTargetConnectionAnchor, getTargetConnectionAnchor, performRequest, refreshDecorators, toString
addNotify, getConnectionFigure, getDragTracker, getSource, getTarget, refresh, removeNotify, setParent
addNodeListener, getContentPane, getFigure, getSourceConnections, getTargetConnections, isSelectable, removeNodeListener, setLayoutConstraint
addEditPartListener, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getEditPolicy, getModel, getParent, getRoot, getSelected, getViewer, hasFocus, installEditPolicy, isActive, removeEditPartListener, removeEditPolicy, setFocus, setModel, showSourceFeedback, showTargetFeedback, understandsRequest
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addNodeListener, getContentPane, getFigure, getSourceConnections, getTargetConnections, removeNodeListener, setLayoutConstraint
addEditPartListener, addNotify, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getDragTracker, getEditPolicy, getModel, getParent, getRoot, getSelected, getViewer, hasFocus, installEditPolicy, isActive, isSelectable, refresh, removeEditPartListener, removeEditPolicy, removeNotify, setFocus, setModel, setParent, showSourceFeedback, showTargetFeedback, understandsRequest
public CompositeConnectionEditPart(IConfigurationProviderInternal configurationProvider, CompositeConnection connection, PictogramsEditPartFactory factory, org.eclipse.gef.EditPart contextParent)
public void setSource(org.eclipse.gef.EditPart editPart)
setSource
in interface org.eclipse.gef.ConnectionEditPart
setSource
in class org.eclipse.gef.editparts.AbstractConnectionEditPart
public void setTarget(org.eclipse.gef.EditPart editPart)
setTarget
in interface org.eclipse.gef.ConnectionEditPart
setTarget
in class org.eclipse.gef.editparts.AbstractConnectionEditPart
public org.eclipse.gef.EditPart getTargetEditPart(org.eclipse.gef.Request request)
getTargetEditPart
in interface org.eclipse.gef.EditPart
getTargetEditPart
in class ConnectionEditPart
public void setSelected(int value)
setSelected
in interface org.eclipse.gef.EditPart
setSelected
in class org.eclipse.gef.editparts.AbstractEditPart
public java.util.Collection<org.eclipse.gef.ConnectionEditPart> getEditParts()
public ConnectionEditPart getOriginallySelectedChild()
ConnectionEditPart
that has been selected originallypublic void setOriginallySelectedChild(ConnectionEditPart originallySelectedChild)
originallySelectedChild
- the ConnectionEditPart
that was selected originallygetOriginallySelectedChild()
public void forceVisualRefresh()
forceVisualRefresh
in interface IConnectionEditPart
forceVisualRefresh
in class ConnectionEditPart