Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336628 - Control#getOrientation() is missing
Summary: Control#getOrientation() is missing
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.4 M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-08 10:35 EST by Rüdiger Herrmann CLA
Modified: 2011-02-09 08:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.