Display animated GIFs with TableViewer [message #460318] |
Wed, 24 August 2005 04: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 06: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 09:41   |
Eclipse User |
|
|
|
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
|
|
|
|
|
Re: transparent GIFs? [message #460811 is a reply to message #460754] |
Wed, 07 September 2005 14:36  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.09942 seconds