|
Re: Animations in Graphiti [message #1697857 is a reply to message #1697501] |
Tue, 09 June 2015 06:51   |
Eclipse User |
|
|
|
Jérôme,
thanks for bringing this up and posting this. Also thanks for the coding
contribution. :-)
I plan to add this enhancement with the start of the next development cycle.
Any comments, requests ... from others interested are highly welcome.
Michael
|
|
|
Re: Animations in Graphiti [message #1699521 is a reply to message #1697857] |
Wed, 24 June 2015 18:44   |
Eclipse User |
|
|
|
Hi,
Do animations make diagram "dirty"? For my needs I would like to have some animations during launch process however after stop I want that everything is like it was before.
Example:
https://www.youtube.com/watch?v=VfXY6RqPLm0
When I "debug" my diagram and there is a breakpoint stop on one port I would like that this port is slowly fickering. But user can still make some permanent change on diagram like moving objects.
I was thinking to do it via decorators - it requires working directly with GEF.
Marek
|
|
|
Re: Animations in Graphiti [message #1699522 is a reply to message #1699521] |
Wed, 24 June 2015 18:53  |
Eclipse User |
|
|
|
Hello Marek,
Animations do make diagrams "dirty" if you don't modify the basic function implementation that checks for dirtiness because they will execute several operations on the shapes as if the user was doing them with the mouse. You can override the basic "isDirty" implementation to change this behavior. I think your request would be possible by using quick animations of about 100 - 200 ms and by ignoring the moves realized when an animation is done in the "isDirty" implementation but I have not tested this behavior yet.
Let us know if you success in doing such a feature !
Good luck,
Jerome
|
|
|
Powered by
FUDForum. Page generated in 0.03272 seconds