Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335120 - Menu#getOrientation() is missing
Summary: Menu#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-01-23 11:40 EST by Rüdiger Herrmann CLA
Modified: 2011-02-08 09:35 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-01-23 11:40:47 EST
Since SWT 3.7, the class Menu provides a getOrientation() method. It returns the orientation (SWT.LEFT_TO_RIGHT or SWT.RIGHT_TO_LEFT) of the menu.
Comment 1 Rüdiger Herrmann CLA 2011-01-23 11:43:14 EST
The counterpart Menu#setOrientation() is of course also missing.
Comment 2 Ivan Furnadjiev CLA 2011-02-08 09:35:33 EST
Menu#setOrientation is implemented as noop, Menu#getOrientation always returns SWT.LEFT_TO_RIGHT. Changes are in CVS HEAD.