Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Display animated GIFs with TableViewer
Display animated GIFs with TableViewer [message #460318] Wed, 24 August 2005 08: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 10:31 Go to previous messageGo to next message
Yves Harms is currently offline Yves HarmsFriend
Messages: 80
Registered: July 2009
Member
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 10: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 13:41 Go to previous messageGo to next message
Olivier Chalouhi is currently offline Olivier ChalouhiFriend
Messages: 10
Registered: July 2009
Junior Member
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 19:37 Go to previous messageGo to next message
ronny is currently offline ronnyFriend
Messages: 46
Registered: July 2009
Member
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] Wed, 07 September 2005 00:34 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
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 18:36 Go to previous message
ronny is currently offline ronnyFriend
Messages: 46
Registered: July 2009
Member
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 Aug 21 10:12:37 GMT 2019

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

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

Back to the top