remove ColorDecorator on Connection after deselection [message #1602442] |
Thu, 05 February 2015 15:12 |
|
HI , I have a feature in which I have Nodes A B C connect to each other using two connection A --> B --> C.
I want to highlight B and C and the conections when I select A.
I have found a solution using DefaultToolBehaviorProvider , on selection of a Node, i collect all the PEs and put them into a ArrayList, and using getSelection().
and then using getDecorators(), I have created BorderDecorator for shape and colordecorator for Connections.
But when i call getDiagramTypeProvider().getDiagramBehavior().refreshRenderingDecorators(PEInstance) only the shape's borderDecorators disappears where as the colordecorators remains until the next selection of node shape.
Is there any callback method there to resolve this. and refresh the connection decorators ?
Regards,
Abhishek Chakraborty
[Updated on: Thu, 05 February 2015 15:13] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03847 seconds