Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsOwnerDrawLabelProvider and PaintItem events for Grid/GridViewer?
https://www.eclipse.org/forums/index.php/mv/msg/17892/57255/#msg_57255
I'm trying to custom draw some things within the cells of the
Grid/Gridviewer using the OwnerDrawLabelProvider but it seems that paint
events doesn't get triggered for the label provider. The same applies to
SWT.paintItem on the Grid. Are these intended to be included or is there
another way of doing it?
With regards
Tommy]]>Tommy Gustafsson2008-08-06T13:47:48-00:00Re: OwnerDrawLabelProvider and PaintItem events for Grid/GridViewer?
https://www.eclipse.org/forums/index.php/mv/msg/17892/591549/#msg_591549
nebula grid is completely custom drawn you can simply replace the
cell-renderer if you need some custom drawing.
The concept of owner draw can't work in nebula grid.
Tom
Tommy schrieb:
> Hi
>
> I'm trying to custom draw some things within the cells of the
> Grid/Gridviewer using the OwnerDrawLabelProvider but it seems that paint
> events doesn't get triggered for the label provider. The same applies to
> SWT.paintItem on the Grid. Are these intended to be included or is there
> another way of doing it?
>
> With regards
> Tommy
>
>
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------]]>Thomas Schindl2008-08-06T13:49:59-00:00Re: OwnerDrawLabelProvider and PaintItem events for Grid/GridViewer?
https://www.eclipse.org/forums/index.php/mv/msg/17892/57279/#msg_57279
nebula grid is completely custom drawn you can simply replace the
cell-renderer if you need some custom drawing.
The concept of owner draw can't work in nebula grid.
Tom
Tommy schrieb:
> Hi
>
> I'm trying to custom draw some things within the cells of the
> Grid/Gridviewer using the OwnerDrawLabelProvider but it seems that paint
> events doesn't get triggered for the label provider. The same applies to
> SWT.paintItem on the Grid. Are these intended to be included or is there
> another way of doing it?
>
> With regards
> Tommy
>
>
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------]]>Thomas Schindl2008-08-06T13:49:59-00:00Re: OwnerDrawLabelProvider and PaintItem events for Grid/GridViewer?
https://www.eclipse.org/forums/index.php/mv/msg/17892/598570/#msg_598570
Regards,
Enrico]]>Enrico Schnepel2009-11-03T09:46:04-00:00Re: OwnerDrawLabelProvider and PaintItem events for Grid/GridViewer?
https://www.eclipse.org/forums/index.php/mv/msg/17892/494924/#msg_494924
Regards,
Enrico]]>Enrico Schnepel2009-11-03T09:46:04-00:00Re: OwnerDrawLabelProvider and PaintItem events for Grid/GridViewer?
https://www.eclipse.org/forums/index.php/mv/msg/17892/598572/#msg_598572
Well Grid simply works different and you can't apply the concept without
investing time into it.
Naturally we could add callbacks into our draw CellRenders callback to
PaintItem, MeasureItem, ... but frankly at the moment this is not on our
list of things so the only possibility is to experiment with writing
your own renderer.
Please log a feature request so that we don't miss this feature.
Tom
Enrico Schnepel schrieb:
> why don't you use the same concept for the grid as well as for the
> native controls. I ran into the same problem. It should be possible to
> use the same labelprovider for the grid as well as for a SWT-backended
> JFace table.
>
> Regards,
>
> Enrico]]>Thomas Schindl2009-11-03T10:20:37-00:00Re: OwnerDrawLabelProvider and PaintItem events for Grid/GridViewer?
https://www.eclipse.org/forums/index.php/mv/msg/17892/494939/#msg_494939
Well Grid simply works different and you can't apply the concept without
investing time into it.
Naturally we could add callbacks into our draw CellRenders callback to
PaintItem, MeasureItem, ... but frankly at the moment this is not on our
list of things so the only possibility is to experiment with writing
your own renderer.
Please log a feature request so that we don't miss this feature.
Tom
Enrico Schnepel schrieb:
> why don't you use the same concept for the grid as well as for the
> native controls. I ran into the same problem. It should be possible to
> use the same labelprovider for the grid as well as for a SWT-backended
> JFace table.
>
> Regards,
>
> Enrico]]>Thomas Schindl2009-11-03T10:20:37-00:00Re: OwnerDrawLabelProvider and PaintItem events for Grid/GridViewer?
https://www.eclipse.org/forums/index.php/mv/msg/17892/598578/#msg_598578
https://bugs.eclipse.org/bugs/show_bug.cgi?id=294035
Regards
Enrico
"Tom Schindl" <tom.schindl@bestsolution.at> schrieb im Newsbeitrag
news:hcp05l$qb$1@build.eclipse.org...
> Hi,
>
> Well Grid simply works different and you can't apply the concept without
> investing time into it.
>
> Naturally we could add callbacks into our draw CellRenders callback to
> PaintItem, MeasureItem, ... but frankly at the moment this is not on our
> list of things so the only possibility is to experiment with writing
> your own renderer.
>
> Please log a feature request so that we don't miss this feature.
>
> Tom
>
> Enrico Schnepel schrieb:
>> why don't you use the same concept for the grid as well as for the
>> native controls. I ran into the same problem. It should be possible to
>> use the same labelprovider for the grid as well as for a SWT-backended
>> JFace table.
>>
>> Regards,
>>
>> Enrico]]>Enrico Schnepel2009-11-03T10:34:01-00:00Re: OwnerDrawLabelProvider and PaintItem events for Grid/GridViewer?
https://www.eclipse.org/forums/index.php/mv/msg/17892/494940/#msg_494940
https://bugs.eclipse.org/bugs/show_bug.cgi?id=294035
Regards
Enrico
"Tom Schindl" <tom.schindl@bestsolution.at> schrieb im Newsbeitrag
news:hcp05l$qb$1@build.eclipse.org...
> Hi,
>
> Well Grid simply works different and you can't apply the concept without
> investing time into it.
>
> Naturally we could add callbacks into our draw CellRenders callback to
> PaintItem, MeasureItem, ... but frankly at the moment this is not on our
> list of things so the only possibility is to experiment with writing
> your own renderer.
>
> Please log a feature request so that we don't miss this feature.
>
> Tom
>
> Enrico Schnepel schrieb:
>> why don't you use the same concept for the grid as well as for the
>> native controls. I ran into the same problem. It should be possible to
>> use the same labelprovider for the grid as well as for a SWT-backended
>> JFace table.
>>
>> Regards,
>>
>> Enrico]]>Enrico Schnepel2009-11-03T10:34:01-00:00