public interface IEdgeDecorationProvider
IEdgeDecorationProvider
can be used to decorate the start or end
of an edge with an IFXDecoration
(e.g. arrow head, etc.).Modifier and Type | Method and Description |
---|---|
IFXDecoration |
getSourceDecoration(java.lang.Object contentSourceNode,
java.lang.Object contentTargetNode)
Returns the
IFXDecoration that should be used to decorate the
start (source side) of the edge that is specified by the given
contentSoruceNode and contentTargetNode. |
IFXDecoration |
getTargetDecoration(java.lang.Object contentSourceNode,
java.lang.Object contentTargetNode)
Returns the
IFXDecoration that should be used to decorate the end
(target side) of the edge that is specified by the given
contentSoruceNode and contentTargetNode. |
IFXDecoration getSourceDecoration(java.lang.Object contentSourceNode, java.lang.Object contentTargetNode)
IFXDecoration
that should be used to decorate the
start (source side) of the edge that is specified by the given
contentSoruceNode and contentTargetNode.contentSourceNode
- The content Object
that represents the source node of
the decorated edge.contentTargetNode
- The content Object
that represents the target node of
the decorated edge.IFXDecoration
that should be used to decorate the
start of the specified edge.IFXDecoration getTargetDecoration(java.lang.Object contentSourceNode, java.lang.Object contentTargetNode)
IFXDecoration
that should be used to decorate the end
(target side) of the edge that is specified by the given
contentSoruceNode and contentTargetNode.contentSourceNode
- The content Object
that represents the source node of
the decorated edge.contentTargetNode
- The content Object
that represents the target node of
the decorated edge.IFXDecoration
that should be used to decorate the end
of the specified edge.Copyright (c) 2014 itemis AG and others. All rights reserved.