|How do I change color in programmatic way [message #859692]
||Fri, 27 April 2012 15:15
| Johnny Qin
Registered: April 2012
I created my ChangeStateColorFeature which extends AbstractCustomFeature, registered it in feature provider. It all works well.
Right now I am trying to change color of state (a rectangle in diagram) in programmatic way, in other words, change its color without clicking any button. Firstly I was trying to get access to the context object which seems to have control of everything. Later I thought there should be some event system going on. Neither worked for me.
Could anyone give a brief idea of how to achieve this? Thanks in advance.
Powered by FUDForum
. Page generated in 0.10998 seconds