An interface for classes that can yield
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.
public function getHandle(context:IInputModeContext, edge:IEdge, sourceHandle:Boolean):IHandle
Gets an IHandle
implementation for one end of the provided edge.
Parameters
| context:IInputModeContext — The context in which the handle will be used.
|
|
| edge:IEdge — The edge for which an handle is needed.
|
|
| sourceHandle:Boolean — If set to true the handle for the source side/port should be returned.
|
Returns | IHandle — The handle to use for the provided side or null .
|
Wed Oct 7 2015, 04:52 PM +02:00