Uses of Interface
org.eclipse.gef.ConnectionEditPart
Packages that use ConnectionEditPart
Package
Description
All interfaces, base types, and the plugin class are here.
This package contains abstract implementation of the EditPart interface.
This package contains EditPolicy implementations for many common editing
Roles.
This package provide several common handle implementations.
This package contains the common Request types used by the provided tools and edit policies.
This package provides several tool implementations.
-
Uses of ConnectionEditPart in org.eclipse.gef
Methods in org.eclipse.gef with parameters of type ConnectionEditPartModifier and TypeMethodDescriptionNodeEditPart.getSourceConnectionAnchor
(ConnectionEditPart connection) Returns theConnectionAnchor
for the specified source connection.NodeEditPart.getTargetConnectionAnchor
(ConnectionEditPart connection) Returns theConnectionAnchor
for the specified target connection.void
NodeListener.removingSourceConnection
(ConnectionEditPart connection, int index) Called prior to removing the connection from its source node.void
NodeListener.removingTargetConnection
(ConnectionEditPart connection, int index) Called prior to removing the connection from its target node.void
NodeListener.sourceConnectionAdded
(ConnectionEditPart connection, int index) Called after the connection has been added to its source node.void
NodeListener.targetConnectionAdded
(ConnectionEditPart connection, int index) Called after the connection has been added to its target node. -
Uses of ConnectionEditPart in org.eclipse.gef.editparts
Classes in org.eclipse.gef.editparts that implement ConnectionEditPartMethods in org.eclipse.gef.editparts that return ConnectionEditPartModifier and TypeMethodDescriptionprotected ConnectionEditPart
AbstractGraphicalEditPart.createConnection
(Object model) Creates aConnectionEditPart
for the given model.protected ConnectionEditPart
AbstractGraphicalEditPart.createOrFindConnection
(Object model) Searches for an existingConnectionEditPart
in the Viewer'sEditPart registry
and returns it if one is found.Methods in org.eclipse.gef.editparts with parameters of type ConnectionEditPartModifier and TypeMethodDescriptionprotected void
AbstractGraphicalEditPart.addSourceConnection
(ConnectionEditPart connection, int index) Adds a source ConnectionEditPart at the specified index.protected void
AbstractGraphicalEditPart.addTargetConnection
(ConnectionEditPart connection, int index) Adds a target ConnectionEditPart at the specified index.protected void
AbstractGraphicalEditPart.fireRemovingSourceConnection
(ConnectionEditPart connection, int index) Notifies listeners that a source connection has been removed.protected void
AbstractGraphicalEditPart.fireRemovingTargetConnection
(ConnectionEditPart connection, int index) Notifies listeners that a target connection has been removed.protected void
AbstractGraphicalEditPart.fireSourceConnectionAdded
(ConnectionEditPart connection, int index) Notifies listeners that a source connection has been added.protected void
AbstractGraphicalEditPart.fireTargetConnectionAdded
(ConnectionEditPart connection, int index) Notifies listeners that a target connection has been added.protected void
AbstractGraphicalEditPart.primAddSourceConnection
(ConnectionEditPart connection, int index) Adds the specified sourceConnectionEditPart
at an index.protected void
AbstractGraphicalEditPart.primAddTargetConnection
(ConnectionEditPart connection, int index) Adds the specified targetConnectionEditPart
at an index.protected void
AbstractGraphicalEditPart.primRemoveSourceConnection
(ConnectionEditPart connection) Removes the specified sourceConnectionEditPart
from theAbstractGraphicalEditPart.sourceConnections
List.protected void
AbstractGraphicalEditPart.primRemoveTargetConnection
(ConnectionEditPart connection) Removes the specified targetConnectionEditPart
from theAbstractGraphicalEditPart.targetConnections
List.protected void
AbstractGraphicalEditPart.removeSourceConnection
(ConnectionEditPart connection) Removes the given connection for which this EditPart is the source.protected void
AbstractGraphicalEditPart.removeTargetConnection
(ConnectionEditPart connection) Removes the given connection for which this EditPart is the target.protected void
AbstractGraphicalEditPart.reorderSourceConnection
(ConnectionEditPart connection, int index) Moves a sourceConnectionEditPart
into a lower index than it currently occupies.protected void
AbstractGraphicalEditPart.reorderTargetConnection
(ConnectionEditPart connection, int index) Moves a targetConnectionEditPart
into a lower index than it currently occupies. -
Uses of ConnectionEditPart in org.eclipse.gef.editpolicies
Methods in org.eclipse.gef.editpolicies that return ConnectionEditPartMethods in org.eclipse.gef.editpolicies with parameters of type ConnectionEditPartModifier and TypeMethodDescriptionprotected void
ScrollableSelectionFeedbackEditPolicy.createConnectionFeedbackFigure
(ConnectionEditPart connectionEditPart) Creates a ghost image feedback figure for the givenConnectionEditPart
's figure and adds it to the feedback layer. -
Uses of ConnectionEditPart in org.eclipse.gef.handles
Constructors in org.eclipse.gef.handles with parameters of type ConnectionEditPartModifierConstructorDescriptionBendpointCreationHandle
(ConnectionEditPart owner, int index) Creates a new BendpointCreationHandle, sets its owner toowner
and its index toindex
, and sets its locator to a newMidpointLocator
.BendpointCreationHandle
(ConnectionEditPart owner, int index, int locatorIndex) Creates a new BendpointCreationHandle, sets its owner toowner
and its index toindex
, and sets its locator to a newMidpointLocator
with the givenlocatorIndex
.BendpointCreationHandle
(ConnectionEditPart owner, int index, Locator locator) Creates a new BendpointCreationHandle and sets its owner toowner
, sets its index toindex
, and sets its locator tolocator
.BendpointMoveHandle
(ConnectionEditPart owner, int index) Creates a new BendpointMoveHandle, sets its owner toowner
and its index toindex
, and sets its locator to a newBendpointLocator
.BendpointMoveHandle
(ConnectionEditPart owner, int index, int locatorIndex) Creates a new BendpointMoveHandle, sets its owner toowner
and its index toindex
, and sets its locator to a newBendpointLocator
with the givenlocatorIndex
.BendpointMoveHandle
(ConnectionEditPart owner, int index, Locator locator) Creates a new BendpointMoveHandle and sets its owner toowner
, sets its index toindex
, and sets its locator tolocator
.Deprecated.Creates a new ConnectionEndHandle, sets its owner toowner
, and sets its locator to aConnectionLocator
.ConnectionEndHandle
(ConnectionEditPart owner, boolean fixed) Deprecated.Creates a new ConnectionEndHandle with its owner set toowner
.ConnectionEndpointHandle
(ConnectionEditPart owner, boolean fixed, int endPoint) Creates a new ConnectionStartHandle and sets its owner toowner
.ConnectionEndpointHandle
(ConnectionEditPart owner, int endPoint) Creates a new ConnectionStartHandle, sets its owner toowner
, and sets its locator to aConnectionLocator
.Deprecated.Creates a new ConnectionStartHandle, sets its owner toowner
, and sets its locator to aConnectionLocator
.ConnectionStartHandle
(ConnectionEditPart owner, boolean fixed) Deprecated.Creates a new ConnectionStartHandle and sets its owner toowner
. -
Uses of ConnectionEditPart in org.eclipse.gef.requests
Methods in org.eclipse.gef.requests that return ConnectionEditPartModifier and TypeMethodDescriptionReconnectRequest.getConnectionEditPart()
Returns the ConnectionEditPart to be reconnected.BendpointRequest.getSource()
Returns the ConnectionEditPart that the bendpoint belongs to.Methods in org.eclipse.gef.requests with parameters of type ConnectionEditPartModifier and TypeMethodDescriptionvoid
ReconnectRequest.setConnectionEditPart
(ConnectionEditPart conn) Sets the ConnectionEditPart to be reconnected.void
BendpointRequest.setSource
(ConnectionEditPart s) Sets the ConnectionEditPart the bendpoint belongs to. -
Uses of ConnectionEditPart in org.eclipse.gef.tools
Methods in org.eclipse.gef.tools that return ConnectionEditPartModifier and TypeMethodDescriptionprotected ConnectionEditPart
ConnectionBendpointTracker.getConnectionEditPart()
Returns the connection editpart on which the tracker operates.protected ConnectionEditPart
ConnectionEndpointTracker.getConnectionEditPart()
Returns the ConnectionEditPart.Methods in org.eclipse.gef.tools with parameters of type ConnectionEditPartModifier and TypeMethodDescriptionvoid
ConnectionBendpointTracker.setConnectionEditPart
(ConnectionEditPart cep) Sets the connection editpart being operated on.void
ConnectionEndpointTracker.setConnectionEditPart
(ConnectionEditPart cep) Sets the connection edit part that is being reconnected.Constructors in org.eclipse.gef.tools with parameters of type ConnectionEditPartModifierConstructorDescriptionConnectionBendpointTracker
(ConnectionEditPart editpart, int i) Constructs a tracker for the given connection and index.Constructs a new ConnectionEndpointTracker for the given ConnectionEditPart.