Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Display animated GIFs with TableViewer
Display animated GIFs with TableViewer [message #460318] Wed, 24 August 2005 04:38 Go to next message
Eclipse UserFriend
Originally posted by: spam.werewolf-design.de

Hi to everyone,

is there a known way to display animated gifs in a tableColumn?
at the moment i can only get the first frame of the animated gif
displayed (thats the standart swt way, i know)
however, the actual project i am working on is in need of animated
column icons for indicating progress for e.g.


thanks in advance,

yours sincerely

Marcus Koesters
Re: Display animated GIFs with TableViewer [message #460352 is a reply to message #460318] Wed, 24 August 2005 06:31 Go to previous messageGo to next message
Eclipse UserFriend
You could extend your LabelProvider to return different images depending
on progress state. Calling viewer.update() should update the images.

But I think displaying a busy cursor should be enough feedback to the user.

Yves Harms

> Hi to everyone,
>
> is there a known way to display animated gifs in a tableColumn?
> at the moment i can only get the first frame of the animated gif
> displayed (thats the standart swt way, i know)
> however, the actual project i am working on is in need of animated
> column icons for indicating progress for e.g.
>
>
> thanks in advance,
>
> yours sincerely
>
> Marcus Koesters
Re: Display animated GIFs with TableViewer [message #460357 is a reply to message #460352] Wed, 24 August 2005 06:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: spam.werewolf-design.de

We have kinda 3 states,

waiting,processing,finished.
when the state processing is the actual state, the animated icon should
be displayed.

displaying a busy-cursor woudln't work bc it would be displayed all the
time.

there are lots of items in the table and each one of them can have the
state processing

yours,
marcus koesters

Yves Harms schrieb:
> You could extend your LabelProvider to return different images depending
> on progress state. Calling viewer.update() should update the images.
>
> But I think displaying a busy cursor should be enough feedback to the user.
>
> Yves Harms
>
>> Hi to everyone,
>>
>> is there a known way to display animated gifs in a tableColumn?
>> at the moment i can only get the first frame of the animated gif
>> displayed (thats the standart swt way, i know)
>> however, the actual project i am working on is in need of animated
>> column icons for indicating progress for e.g.
>>
>>
>> thanks in advance,
>>
>> yours sincerely
>>
>> Marcus Koesters
Re: Display animated GIFs with TableViewer [message #460379 is a reply to message #460357] Wed, 24 August 2005 09:41 Go to previous messageGo to next message
Eclipse UserFriend
I would simply compute the Image myself, and set that one as the image
to be displayed.
I think that there are ways in SWT to use the various images from an
animated gif.

Olivier.

Marcus Kösters wrote:
> We have kinda 3 states,
>
> waiting,processing,finished.
> when the state processing is the actual state, the animated icon should
> be displayed.
>
> displaying a busy-cursor woudln't work bc it would be displayed all the
> time.
>
> there are lots of items in the table and each one of them can have the
> state processing
>
> yours,
> marcus koesters
>
> Yves Harms schrieb:
>
>>You could extend your LabelProvider to return different images depending
>> on progress state. Calling viewer.update() should update the images.
>>
>>But I think displaying a busy cursor should be enough feedback to the user.
>>
>>Yves Harms
>>
>>
>>>Hi to everyone,
>>>
>>>is there a known way to display animated gifs in a tableColumn?
>>>at the moment i can only get the first frame of the animated gif
>>>displayed (thats the standart swt way, i know)
>>>however, the actual project i am working on is in need of animated
>>>column icons for indicating progress for e.g.
>>>
>>>
>>>thanks in advance,
>>>
>>>yours sincerely
>>>
>>>Marcus Koesters
transparent GIFs? [message #460484 is a reply to message #460318] Mon, 29 August 2005 15:37 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

is there a way to use transparent Gifs (on a composite)?
I'm coding in KDE where it works and was astonished that it doesn't work in
Windows or Gnome.

thanks
ronny
Re: transparent GIFs? [message #460754 is a reply to message #460484] Tue, 06 September 2005 20:34 Go to previous messageGo to next message
Eclipse UserFriend
Can you provide the code and the GIF in question?

"Ronny Priv" <ronny.priv@gmx.de> wrote in message
news:devo49$ka3$1@news.eclipse.org...
> Hello,
>
> is there a way to use transparent Gifs (on a composite)?
> I'm coding in KDE where it works and was astonished that it doesn't work
in
> Windows or Gnome.
>
> thanks
> ronny
Re: transparent GIFs? [message #460811 is a reply to message #460754] Wed, 07 September 2005 14:36 Go to previous message
Eclipse UserFriend
It works now. It was actually a Gif on a Label and I set the
Labal-Background to red by mistake.
(This means, that setting the label-background to red didn't work under KDE
because of the gtk-qt-engine, but this is no problem for me.)

thanks
ronny
Previous Topic:64-bit SWT library
Next Topic:AWT_SWT JTextPane Problem
Goto Forum:
  


Current Time: Wed Jul 23 01:15:44 EDT 2025

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

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

Back to the top