Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Detect end theming Animation in server side
Detect end theming Animation in server side [message #1053299] Fri, 03 May 2013 12:40 Go to next message
Arnaud MERGEY is currently offline Arnaud MERGEY
Messages: 127
Registered: March 2010
Location: France
Senior Member
Hello,

I am wondering if there are any way to be notified, on server side, after the end of a component animation if defined in theming ?

For example if I define fadeOut animation for a composite, I would like to destroy a parent composite only after the end of child composite fadeOut animation.

Best regards,
Arnaud
Re: Detect end theming Animation in server side [message #1053511 is a reply to message #1053299] Mon, 06 May 2013 07:00 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 379
Registered: July 2009
Senior Member
Hi.

> I am wondering if there are any way to be notified, on server side,
> after the end of a component animation if defined in theming ?

No. But if you destroy a widget that has a fade-out animation it should
only disappear after the animation finishs.

> For example if I define fadeOut animation for a composite, I would like
> to destroy a parent composite only after the end of child composite
> fadeOut animation.

Why not fade out the parent itself?

Greetings,
Tim


--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Detect end theming Animation in server side [message #1053533 is a reply to message #1053511] Mon, 06 May 2013 08:25 Go to previous messageGo to next message
Arnaud MERGEY is currently offline Arnaud MERGEY
Messages: 127
Registered: March 2010
Location: France
Senior Member
Hello Tim,

>No. But if you destroy a widget that has a fade-out animation it should
>only disappear after the animation finishs.

For example if you have a fade-out animation on composite, and put a composite in a shell, closing the shell does not display composite fade-out animation, so if there were some way to be notified after the end of animation, I would have disposed the composite and then closed the shell.

>Why not fade out the parent itself?

It is not really the same animation effect, fadde-out the parent itself you have the animation for all children at the same time, I was wondering if there were some way to have an animation for each child one after the other.

Best regards,
Arnaud
Re: Detect end theming Animation in server side [message #1053582 is a reply to message #1053533] Mon, 06 May 2013 11:28 Go to previous message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 379
Registered: July 2009
Senior Member
Hi.

> For example if you have a fade-out animation on composite, and put a
> composite in a shell, closing the shell does not display composite
> fade-out animation, so if there were some way to be notified after the
> end of animation, I would have disposed the composite and then closed
> the shell.

Fade out the shells content, but then hide the shell instantaneously? I
think that would be a weired effect.

> wondering if there were some way to have an animation for each child one
> after the other.

That was something I also wanted to have, but I never got around to
implement it. However, doing it by hiding each widget in a separate
request would cause way too much useless traffic. This feature would
have to be implemented in JavaScript entirely.

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:org.eclipse.equinox.servletbridge.extensionbundle miss for RAP 2.1 target platform
Next Topic:CodeMirror Eclipse (SWT, RCP and RAP)
Goto Forum:
  


Current Time: Fri Jul 25 06:39:47 EDT 2014

Powered by FUDForum. Page generated in 0.10010 seconds