getColumnImage [message #61316] |
Tue, 20 November 2007 19:12  |
Eclipse User |
|
|
|
Hello
i try to display thumbnails (small pictures) in TableViewer cells.
getColumnImages returns a Image and the row adapts to the supposed size of
the thumbnail, but nothing is shown.
any ideas?
Andrej
|
|
|
|
|
Re: getColumnImage [message #61632 is a reply to message #61572] |
Wed, 21 November 2007 17:21   |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi Andrej,
from what you write it sounds like a bug. Even though I tried various
combinations of rows and columns, with or without images, but couldn't
reproduce it.
If you have a standalone code snippet that reproduces the behavior, you
could file a bug report with the snippet attached.
Thanks,
Rüdiger
Andrej Dimic wrote:
> Hi Rüdiger
>
> yes, i will provide you with more detailed information. But first let me
> say that i got it working now but i think there might nevertheless be a
> bug.
>
> It observed that the images show up if getColumnImage returns for every
> single call a valid Image. But we have the business case that some
> tablerows have images, other don't. So we return sometimes a valid
> Image, sometimes we return null. And when we do that no images show up.
> Not even at rows that do have a image, though strange enough the
> vertical size of the row changes to the size of the image, but the cell
> is empty.
>
> For now, we created a white image and return this one instead of null
> and as i said before, it works that way.
>
> is this a bug or am i missing something?
> Andrej
>
>
|
|
|
Antw: Re: getColumnImage [message #61816 is a reply to message #61632] |
Thu, 22 November 2007 04:11  |
Eclipse User |
|
|
|
Originally posted by: admin.kabe-farben.ch
Hi Rüdiger
i will try to make a snippet for my problem and will file it.
Thanks
Andrej
>>> Rüdiger Herrmann<rherrmann@innoopract.com> schrieb am 21.11.2007 um
23:21
in Nachricht <fi2b0t$von$1@build.eclipse.org>:
> Hi Andrej,
>
> from what you write it sounds like a bug. Even though I tried various
> combinations of rows and columns, with or without images, but couldn't
> reproduce it.
> If you have a standalone code snippet that reproduces the behavior, you
> could file a bug report with the snippet attached.
>
> Thanks,
> Rüdiger
>
>
> Andrej Dimic wrote:
>> Hi Rüdiger
>>
>> yes, i will provide you with more detailed information. But first let me
>
>> say that i got it working now but i think there might nevertheless be a
>> bug.
>>
>> It observed that the images show up if getColumnImage returns for every
>> single call a valid Image. But we have the business case that some
>> tablerows have images, other don't. So we return sometimes a valid
>> Image, sometimes we return null. And when we do that no images show up.
>> Not even at rows that do have a image, though strange enough the
>> vertical size of the row changes to the size of the image, but the cell
>> is empty.
>>
>> For now, we created a white image and return this one instead of null
>> and as i said before, it works that way.
>>
>> is this a bug or am i missing something?
>> Andrej
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04218 seconds