public interface IEdgePortHandleProvider
IHandle
implementations for the source
and
target
ends of an IEdge
.
This interface will be queried by the default implementation of the IHandleProvider
that is in the lookup of an
IEdge
. It is recommended to use this interface instead of the more generic IHandleProvider
interface, because other generic code can then use this interface to gain access to a specific IHandle
more
easily.
Modifier and Type | Method and Description |
---|---|
IHandle |
getHandle(IInputModeContext context,
IEdge edge,
boolean sourceHandle)
Gets an
IHandle implementation for one end of the provided edge . |
IHandle getHandle(IInputModeContext context, IEdge edge, boolean sourceHandle)
IHandle
implementation for one end of the provided edge
.context
- The context in which the handle will be used.edge
- The edge for which an handle is needed.sourceHandle
- if set to true
the handle for the source side/port should be returned.null
.