Skip to main content



      Home
Home » Eclipse Projects » GEF » Animation
Animation [message #60333] Thu, 30 January 2003 15:29 Go to next message
Eclipse UserFriend
Originally posted by: ian.ianbull.com

I would like to add a small amount of animation to my GEF application (which
basically emphases something getting bigger when a double-click occurs).

Is there a good way to do this (some ideas I have include):
o Setup a callback with the eventloop (somehow) to happen a couple of times
per second, each time doing a small piece of the animation
o Spawn a new thread which performs part of the animation, sleeps, and then
does a little more (etc..)

Any thoughts on this would be greatly appreciated.

Cheers,
Ian

--
Ian Bull - IBM Centre for Advanced Studies
University of Victoria
Re: Animation [message #60409 is a reply to message #60333] Thu, 30 January 2003 15:37 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

See the internal class AnimatableFigure, which is used by the Palette. It
does the animation directly from the Event Thread, so the animation should
be short.

"ian" <ian@ianbull.com> wrote in message news:b1c0ml$d5a$1@rogue.oti.com...
> I would like to add a small amount of animation to my GEF application
(which
> basically emphases something getting bigger when a double-click occurs).
>
> Is there a good way to do this (some ideas I have include):
> o Setup a callback with the eventloop (somehow) to happen a couple of
times
> per second, each time doing a small piece of the animation
> o Spawn a new thread which performs part of the animation, sleeps, and
then
> does a little more (etc..)
>
> Any thoughts on this would be greatly appreciated.
>
> Cheers,
> Ian
>
> --
> Ian Bull - IBM Centre for Advanced Studies
> University of Victoria
>
>
Previous Topic:GEF plugin is disabled
Next Topic:Create ToolBar for Direct Edit
Goto Forum:
  


Current Time: Fri May 09 18:04:23 EDT 2025

Powered by FUDForum. Page generated in 0.02721 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top