link.insertPoint
is
called, the policy is asked by method policy.allowInsertPoint
whether
inserting the point is allowed. link.insertPoint
,
the method policy.afterInsertPoint
is called.
This allows the policy to react to the change. afterAny
is
called at the end. Since, at this point, the link shape policy is
enabled, this method should not reshape the link any further. It can
however perform cleanup operations. Method of IlvPolicyAwareLinkImage |
Test Method in IlvLinkShapePolicy |
After Method in IlvLinkShapePolicy |
Comment |
---|---|---|---|
setLinkShapePolicy |
onInstall |
Applied to the new policy |
|
setLinkShapePolicy |
onUninstall |
Applied to the old policy |
|
insertPoint |
allowInsertPoint |
afterInsertPoint |
|
removePoint |
allowRemovePoint |
afterRemovePoint |
|
movePoint |
allowMovePoint |
afterMovePoint |
|
setIntermediateLinkPoints |
allowSetIntermediateLinkPoints |
afterSetIntermediateLinkPoints |
|
applyTransform |
allowApplyTransform |
afterApplyTransform |
|
afterAdd |
Applied after a link has been added to a grapher |
||
beforeRemove |
Applied before a link is removed from a grapher |
||
afterFromNodeMoved |
Applied when the source node of the link has
been moved |
||
afterToNodeMoved |
Applied when the destination node of the link
has been moved |
||
afterAny |
Applied after any of the methods mentioned
above |