Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 154128

Summary: Provide access to more native controls
Product: [Eclipse Project] Platform Reporter: John Arthorne <john.arthorne>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P4 CC: anthony.wilburn, bojan.milenkoski, bpasero, bradleyjames, eclipse.felipe, eclipse, francois, frydzewski, gorkem.ercan, hortiz, irfan.jamal, jeremyd, Konstantin.Scheglov, Matthew_Hatem, mlists, olibralo, ovidr, pombredanne, rjlorimer, tom.schindl
Version: 3.3Keywords: plan
Target Milestone: 3.3   
Hardware: All   
OS: All   
Whiteboard:

Description John Arthorne CLA 2006-08-16 14:16:49 EDT
We should provide access to more of the native controls that are available on each platform, such as date and time pickers, and table header widgets. In addition, we should enable more features of existing native controls, such as table wrapping on Windows. [SWT, UI]
Comment 1 Felipe Heidrich CLA 2006-08-16 15:22:23 EDT
Bug 19945 - DCR: date/time widget would be useful
Comment 2 Andy Hoffman CLA 2006-08-21 17:02:15 EDT
WinCE/Windows Mobile: Browser and StyledText support would be GREATLY appreciated
Comment 3 Orestis Markou CLA 2006-08-23 15:15:17 EDT
Please look into making a more flexible table, or incorporating a custom made table. Possible resources can be given to the nebula project to finalize the Grid widget ?

Table and date picker are the most needed widgets...
Comment 4 Grant Gayed CLA 2007-06-08 11:05:22 EDT
This is completed in 3.3, marking as FIXED.

We may provide access to more native controls in the future.  For example, we did not get to the table header widget this time.
Comment 5 Anthony CLA 2007-07-05 16:58:28 EDT
It sounds like you are moving in the direction of supporting better table header control by making that its own widget with its own API...

Sounds great, but outside that...when invoking Control.setFont() when your control is a Table, all rows in the table resize nicely (namely, the row height) to handle the new font, but the column headers do not.

Even without a dedicated table header widget, should setting the font at the table level also resize the headers appropriately??

Please steer me in the right direction if I'm straying...and thanks a lot for any help!
Comment 6 Irfan CLA 2009-12-14 04:55:23 EST
Hello

Could anyone tell me if this is possible in Eclipse 3.4 or 3.5?

I would like to show some columns in my table in Italics and some other columns with Normal font. Currently, I am not able to get a setFont method for TableColumn to manipulate it.

Please guide me if there is a way!

Thanks & Regards
Irfan



(In reply to comment #5)
> It sounds like you are moving in the direction of supporting better table
> header control by making that its own widget with its own API...
> 
> Sounds great, but outside that...when invoking Control.setFont() when your
> control is a Table, all rows in the table resize nicely (namely, the row
> height) to handle the new font, but the column headers do not.
> 
> Even without a dedicated table header widget, should setting the font at the
> table level also resize the headers appropriately??
> 
> Please steer me in the right direction if I'm straying...and thanks a lot for
> any help!
Comment 7 Felipe Heidrich CLA 2009-12-14 14:16:08 EST
(In reply to comment #6)
> I would like to show some columns in my table in Italics and some other columns
> with Normal font. Currently, I am not able to get a setFont method for
> TableColumn to manipulate it.
> Please guide me if there is a way!

Do you want (a) italic font in the header ? or (b) in the row ?

For (a) see Bug 63038
For (b) it is possible since 3.0, use TableItem#setFont(int, Font)
Comment 8 Irfan CLA 2009-12-14 22:07:23 EST
Yeah, In the header... That too for some specific rows... Possible?

Irfan

(In reply to comment #7)
> (In reply to comment #6)
> > I would like to show some columns in my table in Italics and some other columns
> > with Normal font. Currently, I am not able to get a setFont method for
> > TableColumn to manipulate it.
> > Please guide me if there is a way!
> Do you want (a) italic font in the header ? or (b) in the row ?
> For (a) see Bug 63038
> For (b) it is possible since 3.0, use TableItem#setFont(int, Font)
Comment 9 Felipe Heidrich CLA 2009-12-15 15:40:13 EST
(In reply to comment #8)
> Yeah, In the header... That too for some specific rows... Possible?

No for the header (see bug 63038)
Yes for rows (see TableItem#setFont(int, Font)