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

Bug 335120

Summary: Menu#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-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.