Display animated GIFs with TableViewer [message #460318] |
Wed, 24 August 2005 08:38 |
Eclipse User |
|
|
|
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 #460357 is a reply to message #460352] |
Wed, 24 August 2005 10:53 |
Eclipse User |
|
|
|
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 |
Olivier Chalouhi 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
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02804 seconds