An implementation of the
IEdgePortCandidateProvider
interface that returns the current source and target ports
edge:IEdge
[read-only]
The edge to return candidates for.
Implementation protected function get edge():IEdge
public function CurrentEdgePortsCandidateProvider(edge:IEdge)
Creates a new instance.
Parameters | edge:IEdge — The edge to get the port candidates for.
|
protected function createCandidate(context:IInputModeContext, port:IPort):DefaultPortCandidate
Creates a candidate from the given existing port instance.
Parameters
Returns public function getSourcePortCandidates(context:IInputModeContext):Iterable
Returns all source port candidates that may be used for the edge.
The iterable may contain valid, invalid and dynamic port candidates.
Parameters
Returns | Iterable — An iterable over all source port candidates that are associated with the current context edge.
|
public function getTargetPortCandidates(context:IInputModeContext):Iterable
Returns all target port candidates that may be used for the edge.
The iterable may contain valid, invalid and dynamic port candidates.
Parameters
Returns | Iterable — An iterable over all target port candidates that are associated with the current context edge.
|
Wed Oct 7 2015, 04:52 PM +02:00