Animation on Connection. [message #234709] |
Tue, 29 May 2007 06:19  |
Eclipse User |
|
|
|
Originally posted by: rakesh.pramati.com
Hi,
I want to animate connection figure.
There are 2 editparts and there is a polyline connection between two
editparts.
I want to draw a small ball image which moves just above the connection
line, which moves from source to target editpart. This should happen on
event based.
I tried in following manner but doesn't help.
In PolylineConnection.java
Override
outlinedShape(Graphics g){...} method and trying to draw an image on the
graphics but didn't find the way to remove the image from Graphics and
things
are not happening smoothly.
Any pointer? I need some help immediately.
Thanks in Adavnce.
Thanks
-Rakesh
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03094 seconds