Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCustom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/66003/#msg_66003
Originally posted by: m.kasid.gmail.com
Can we set custom fonts for row headers? I want to have certain row headers
to be listed in Bold or Italics, i don't see a way of doing that...
I tried passing a custom Font to RowHeaderLabelProvider through the getFont
method of ColumnLabelProvider, but this didn't worked.
--
Thanks,
Mustufa]]>2009-07-24T06:54:17-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/494267/#msg_494267
I added a getHeaderFont and setHeaderFont() method to the GridColumn class and modified the DefaultColumnHeaderRenderer class to use the HeaderFont in the Paint method and it does what you want it to do.
I will submit these changes as a patch to see if they want to incorporate them into the widget.
Marty]]>Marty Jones2009-10-29T20:59:06-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/598501/#msg_598501
I will submit these changes as a patch to see if they want to incorporate them into the widget.
Marty]]>Marty Jones2009-10-29T20:59:06-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/494282/#msg_494282
> I will submit these changes as a patch to see if they want to
> incorporate them into the widget.
Excellent! When you are ready, please submit your patch as an
attachment to a bugzilla report:
After you submit the patch, please drop a note back here on the
newsgroup to tell us the bug number.
Matthew]]>Matthew Hall2009-10-29T22:21:35-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/598509/#msg_598509
> I will submit these changes as a patch to see if they want to
> incorporate them into the widget.
Excellent! When you are ready, please submit your patch as an
attachment to a bugzilla report:
After you submit the patch, please drop a note back here on the
newsgroup to tell us the bug number.
Matthew]]>Matthew Hall2009-10-29T22:21:35-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/494291/#msg_494291
The bug number is 293743
Matthew, I wasn't sure how you guys normally apply patches so I just included the source files that I modified as the patch.
Please let me know if I am suppose to do it differently.
Thanks,
Marty]]>Marty Jones2009-10-30T02:04:59-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/598513/#msg_598513
The bug number is 293743
Matthew, I wasn't sure how you guys normally apply patches so I just included the source files that I modified as the patch.
Please let me know if I am suppose to do it differently.
Thanks,
Marty]]>Marty Jones2009-10-30T02:04:59-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/494382/#msg_494382
> Matthew, I wasn't sure how you guys normally apply patches so I just
> included the source files that I modified as the patch.
>
> Please let me know if I am suppose to do it differently.
Typically the preferred method is to check out the component source from
CVS into your workspace. Make the changes to source files. Open the
Synchronize view and synchronize the sources with CVS to get a list of
the changed files. Select all the changed files, right click, and
select Create Patch. This wizard will generate a patch in the preferred
format.
If you're using Mylyn with the Mylyn-Bugzilla connector it is a little
easier. When you create the patch, select the clipboard as the patch
destination. Then open the bug in Mylyn, add a new attachment and
select the clipboard as the source.
Matthew]]>Matthew Hall2009-10-30T13:40:07-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/598515/#msg_598515
> Matthew, I wasn't sure how you guys normally apply patches so I just
> included the source files that I modified as the patch.
>
> Please let me know if I am suppose to do it differently.
Typically the preferred method is to check out the component source from
CVS into your workspace. Make the changes to source files. Open the
Synchronize view and synchronize the sources with CVS to get a list of
the changed files. Select all the changed files, right click, and
select Create Patch. This wizard will generate a patch in the preferred
format.
If you're using Mylyn with the Mylyn-Bugzilla connector it is a little
easier. When you create the patch, select the clipboard as the patch
destination. Then open the bug in Mylyn, add a new attachment and
select the clipboard as the source.
Matthew]]>Matthew Hall2009-10-30T13:40:07-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/494392/#msg_494392
Thank you for the help on how to apply the patch.
I have uploaded a new patch file with the changes.
Marty]]>Marty Jones2009-10-30T14:17:17-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/598518/#msg_598518
Thank you for the help on how to apply the patch.
I have uploaded a new patch file with the changes.
Marty]]>Marty Jones2009-10-30T14:17:17-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/509789/#msg_509789
available if not file a bugzilla. It should be quite trivial to
implement this feature.
Tom
Am 25.01.10 13:34, schrieb Mustufa Kasidwala:
> Hi,
>
> I actually requested to have a facility to set custom 'Row Header' fonts. I
> guess what you fixed was to have custom 'Column Header' fonts.
>]]>Thomas Schindl2010-01-25T07:42:06-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/509786/#msg_509786
I actually requested to have a facility to set custom 'Row Header' fonts. I
guess what you fixed was to have custom 'Column Header' fonts.
--
Thanks and Regards
Mustufa Kasidwala
"Marty Jones" <martybjones@gmail.com> wrote in message
news:hceshf$i4a$1@build.eclipse.org...
> Matthew,
>
> Thank you for the help on how to apply the patch.
>
> I have uploaded a new patch file with the changes.
>
> Marty]]>Mustufa Kasidwala2010-01-25T12:34:07-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/598887/#msg_598887
I actually requested to have a facility to set custom 'Row Header' fonts. I
guess what you fixed was to have custom 'Column Header' fonts.
--
Thanks and Regards
Mustufa Kasidwala
"Marty Jones" <martybjones@gmail.com> wrote in message
news:hceshf$i4a$1@build.eclipse.org...
> Matthew,
>
> Thank you for the help on how to apply the patch.
>
> I have uploaded a new patch file with the changes.
>
> Marty]]>Mustufa Kasidwala2010-01-25T12:34:07-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/598891/#msg_598891
available if not file a bugzilla. It should be quite trivial to
implement this feature.
Tom
Am 25.01.10 13:34, schrieb Mustufa Kasidwala:
> Hi,
>
> I actually requested to have a facility to set custom 'Row Header' fonts. I
> guess what you fixed was to have custom 'Column Header' fonts.
>]]>Thomas Schindl2010-01-25T12:38:45-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/598934/#msg_598934
attached a patch for a possible fix.
--
Thanks and Regards
Mustufa Kasidwala
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:hjk3cl$aqe$1@build.eclipse.org...
> Looks like. I don't know OTOH if setting a row-header font is already
> available if not file a bugzilla. It should be quite trivial to
> implement this feature.
>
> Tom
>
> Am 25.01.10 13:34, schrieb Mustufa Kasidwala:
>> Hi,
>>
>> I actually requested to have a facility to set custom 'Row Header' fonts.
>> I
>> guess what you fixed was to have custom 'Column Header' fonts.
>>
>]]>Mustufa Kasidwala2010-01-28T09:42:37-00:00Re: Custom Font for Row Headers
https://www.eclipse.org/forums/index.php/mv/msg/20568/510664/#msg_510664
attached a patch for a possible fix.
--
Thanks and Regards
Mustufa Kasidwala
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:hjk3cl$aqe$1@build.eclipse.org...
> Looks like. I don't know OTOH if setting a row-header font is already
> available if not file a bugzilla. It should be quite trivial to
> implement this feature.
>
> Tom
>
> Am 25.01.10 13:34, schrieb Mustufa Kasidwala:
>> Hi,
>>
>> I actually requested to have a facility to set custom 'Row Header' fonts.
>> I
>> guess what you fixed was to have custom 'Column Header' fonts.
>>
>]]>Mustufa Kasidwala2010-01-28T09:42:37-00:00