Package | Description |
---|---|
org.eclipse.gef |
All interfaces, base types, and the plugin class are here.
|
org.eclipse.gef.editparts |
This package contains abstract implementation of the EditPart interface.
|
org.eclipse.gef.editpolicies |
This package contains EditPolicy implementations for many common editing
Roles.
|
org.eclipse.gef.handles |
This package provide several common handle implementations.
|
org.eclipse.gef.requests |
This package contains the common Request types used by the provided tools and edit policies.
|
org.eclipse.gef.tools |
This package provides several tool implementations.
|
Modifier and Type | Method and Description |
---|---|
ConnectionAnchor |
NodeEditPart.getSourceConnectionAnchor(ConnectionEditPart connection)
Returns the
ConnectionAnchor for the specified source
connection. |
ConnectionAnchor |
NodeEditPart.getTargetConnectionAnchor(ConnectionEditPart connection)
Returns the
ConnectionAnchor 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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConnectionEditPart
The base implementation for
ConnectionEditPart . |
Modifier and Type | Method and Description |
---|---|
protected ConnectionEditPart |
AbstractGraphicalEditPart.createConnection(java.lang.Object model)
Creates a
ConnectionEditPart for the given model. |
protected ConnectionEditPart |
AbstractGraphicalEditPart.createOrFindConnection(java.lang.Object model)
Searches for an existing
ConnectionEditPart in the Viewer's
EditPart registry and
returns it if one is found. |
Modifier and Type | Method and Description |
---|---|
protected 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 source
ConnectionEditPart at an index. |
protected void |
AbstractGraphicalEditPart.primAddTargetConnection(ConnectionEditPart connection,
int index)
Adds the specified target
ConnectionEditPart at an index. |
protected void |
AbstractGraphicalEditPart.primRemoveSourceConnection(ConnectionEditPart connection)
Removes the specified source
ConnectionEditPart from the
AbstractGraphicalEditPart.sourceConnections List. |
protected void |
AbstractGraphicalEditPart.primRemoveTargetConnection(ConnectionEditPart connection)
Removes the specified target
ConnectionEditPart from the
AbstractGraphicalEditPart.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 source
ConnectionEditPart into a lower index than it
currently occupies. |
protected void |
AbstractGraphicalEditPart.reorderTargetConnection(ConnectionEditPart connection,
int index)
Moves a target
ConnectionEditPart into a lower index than it
currently occupies. |
Modifier and Type | Method and Description |
---|---|
protected void |
ScrollableSelectionFeedbackEditPolicy.createConnectionFeedbackFigure(ConnectionEditPart connectionEditPart)
Creates a ghost image feedback figure for the given
ConnectionEditPart 's figure and adds it to the feedback layer. |
Constructor and Description |
---|
BendpointCreationHandle(ConnectionEditPart owner,
int index)
Creates a new BendpointCreationHandle, sets its owner to
owner and its index to index , and sets its
locator to a new MidpointLocator . |
BendpointCreationHandle(ConnectionEditPart owner,
int index,
int locatorIndex)
Creates a new BendpointCreationHandle, sets its owner to
owner and its index to index , and sets its
locator to a new MidpointLocator with the given
locatorIndex . |
BendpointCreationHandle(ConnectionEditPart owner,
int index,
Locator locator)
Creates a new BendpointCreationHandle and sets its owner to
owner , sets its index to index , and sets its
locator to locator . |
BendpointMoveHandle(ConnectionEditPart owner,
int index)
Creates a new BendpointMoveHandle, sets its owner to
owner
and its index to index , and sets its locator to a new
BendpointLocator . |
BendpointMoveHandle(ConnectionEditPart owner,
int index,
int locatorIndex)
Creates a new BendpointMoveHandle, sets its owner to
owner
and its index to index , and sets its locator to a new
BendpointLocator with the given locatorIndex . |
BendpointMoveHandle(ConnectionEditPart owner,
int index,
Locator locator)
Creates a new BendpointMoveHandle and sets its owner to
owner , sets its index to index , and sets its
locator to locator . |
ConnectionEndHandle(ConnectionEditPart owner)
Deprecated.
Creates a new ConnectionEndHandle, sets its owner to
owner ,
and sets its locator to a ConnectionLocator . |
ConnectionEndHandle(ConnectionEditPart owner,
boolean fixed)
Deprecated.
Creates a new ConnectionEndHandle with its owner set to
owner . |
ConnectionEndpointHandle(ConnectionEditPart owner,
boolean fixed,
int endPoint)
Creates a new ConnectionStartHandle and sets its owner to
owner . |
ConnectionEndpointHandle(ConnectionEditPart owner,
int endPoint)
Creates a new ConnectionStartHandle, sets its owner to
owner
, and sets its locator to a ConnectionLocator . |
ConnectionStartHandle(ConnectionEditPart owner)
Deprecated.
Creates a new ConnectionStartHandle, sets its owner to
owner
, and sets its locator to a ConnectionLocator . |
ConnectionStartHandle(ConnectionEditPart owner,
boolean fixed)
Deprecated.
Creates a new ConnectionStartHandle and sets its owner to
owner . |
Modifier and Type | Method and Description |
---|---|
ConnectionEditPart |
ReconnectRequest.getConnectionEditPart()
Returns the ConnectionEditPart to be reconnected.
|
ConnectionEditPart |
BendpointRequest.getSource()
Returns the ConnectionEditPart that the bendpoint belongs to.
|
Modifier and Type | Method and Description |
---|---|
void |
ReconnectRequest.setConnectionEditPart(ConnectionEditPart conn)
Sets the ConnectionEditPart to be reconnected.
|
void |
BendpointRequest.setSource(ConnectionEditPart s)
Sets the ConnectionEditPart the bendpoint belongs to.
|
Modifier and Type | Method and Description |
---|---|
protected ConnectionEditPart |
ConnectionEndpointTracker.getConnectionEditPart()
Returns the ConnectionEditPart.
|
protected ConnectionEditPart |
ConnectionBendpointTracker.getConnectionEditPart()
Returns the connection editpart on which the tracker operates.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionEndpointTracker.setConnectionEditPart(ConnectionEditPart cep)
Sets the connection edit part that is being reconnected.
|
void |
ConnectionBendpointTracker.setConnectionEditPart(ConnectionEditPart cep)
Sets the connection editpart being operated on.
|
Constructor and Description |
---|
ConnectionBendpointTracker(ConnectionEditPart editpart,
int i)
Constructs a tracker for the given connection and index.
|
ConnectionEndpointTracker(ConnectionEditPart cep)
Constructs a new ConnectionEndpointTracker for the given
ConnectionEditPart.
|
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.