public class CompositeConnectionEditPart extends ConnectionEditPart
CONNECTION_LAYER, FEEDBACK_LAYER, GRID_LAYER, GUIDE_LAYER, HANDLE_LAYER, PRIMARY_LAYER, PRINTABLE_LAYERS, SCALABLE_LAYERS, SCALED_FEEDBACK_LAYERREQ_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, toStringaddNotify, getConnectionFigure, getDragTracker, getSource, getTarget, refresh, removeNotify, setParentaddNodeListener, getContentPane, getFigure, getSourceConnections, getTargetConnections, isSelectable, removeNodeListener, setLayoutConstraintaddEditPartListener, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getEditPolicy, getModel, getParent, getRoot, getSelected, getViewer, hasFocus, installEditPolicy, isActive, removeEditPartListener, removeEditPolicy, setFocus, setModel, showSourceFeedback, showTargetFeedback, understandsRequestequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddNodeListener, getContentPane, getFigure, getSourceConnections, getTargetConnections, removeNodeListener, setLayoutConstraintaddEditPartListener, 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, understandsRequestpublic 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.ConnectionEditPartsetSource in class org.eclipse.gef.editparts.AbstractConnectionEditPartpublic void setTarget(org.eclipse.gef.EditPart editPart)
setTarget in interface org.eclipse.gef.ConnectionEditPartsetTarget in class org.eclipse.gef.editparts.AbstractConnectionEditPartpublic org.eclipse.gef.EditPart getTargetEditPart(org.eclipse.gef.Request request)
getTargetEditPart in interface org.eclipse.gef.EditPartgetTargetEditPart in class ConnectionEditPartpublic void setSelected(int value)
setSelected in interface org.eclipse.gef.EditPartsetSelected in class org.eclipse.gef.editparts.AbstractEditPartpublic 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 IConnectionEditPartforceVisualRefresh in class ConnectionEditPart