| Summary: | [Tree] Add Tree#getGridLineWidth() | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Elias Volanakis <elias> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ivan |
| Version: | 1.4 | ||
| Target Milestone: | 1.4 M3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed in CVS HEAD. |
For single-sourcing we should have tree.getGridLineWidth() - just as we also have table.getGridLineWidth(). Here is the code from SWT: /** * Returns the width in pixels of a grid line. * * @return the width of a grid line in pixels * * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * * @since 3.1 */ public int getGridLineWidth () { checkWidget (); return GRID_WIDTH; }