Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328387 - [Tree] Add Tree#getGridLineWidth()
Summary: [Tree] Add Tree#getGridLineWidth()
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 13:28 EDT by Elias Volanakis CLA
Modified: 2010-10-21 13:57 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Volanakis CLA 2010-10-21 13:28:30 EDT
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;
}
Comment 1 Ivan Furnadjiev CLA 2010-10-21 13:55:28 EDT
Fixed in CVS HEAD.