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

Bug 336628

Summary: Control#getOrientation() is missing
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: 1.4 M6   
Hardware: All   
OS: All   
Whiteboard:

Description RĂ¼diger Herrmann CLA 2011-02-08 10:35:17 EST
Since SWT 3.7, the class Control provides a getOrientation() and setOrientation() method. It returns the orientation (SWT.LEFT_TO_RIGHT or SWT.RIGHT_TO_LEFT) of the control and allows to change the orientation without re-creating the control.
Since RWT does only provide SWT.LEFT_TO_RIGHT orientation, this can safely be implemented as a no-op.
Comment 1 Ivan Furnadjiev CLA 2011-02-09 08:44:31 EST
Fixed as suggested. Changes are in CVS HEAD.