Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Question about TreeViewer


Late in 2.0 (I think) SWT added the ability to color TreeItems with both foreground and background colors.
This should be added to the ILabelProvider interface somehow, whether that means break the API or create an IColoredLabelProvider sub-interface.



"Tod Creasey" <Tod_Creasey@xxxxxxx>
Sent by: platform-ui-dev-admin@xxxxxxxxxxx

10/23/2002 08:22 AM
Please respond to platform-ui-dev

       
        To:        platform-ui-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [platform-ui-dev] Question about TreeViewer

       



Jml

This sort of question is better suited to the newsgroup which reaches a
much wider segment of the community - this is meant for for the developers
of the UI component and those interested in the ongoing work on it.

To answer you question right now we do not support individual Fonts for
entries in labels. Please feel free to log a feature request for this.

Tod



                                                                                                                   
                     "jml" <jml@xxxxxxxx>                                                                          
                     Sent by:                       To:      <platform-ui-dev@xxxxxxxxxxx>                          
                     platform-ui-dev-admin@         cc:                                                            
                     eclipse.org                    Subject: [platform-ui-dev] Question about TreeViewer            
                                                                                                                   
                                                                                                                   
                     10/23/2002 02:53 AM                                                                            
                     Please respond to                                                                              
                     platform-ui-dev                                                                                
                                                                                                                   
                                                                                                                   



Hi,
Currently, the ILabelProvider.getText() function will only return a plain
text. Is there any way to show different font in the tree item label, for
example, can I have part of it to be bold? I expect some function as
ILabelProvider.getHTML().

Thanks

jml



_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev


Back to the top