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

Bug 338825

Summary: Rename Display.getAppMenuBar() to getMenuBar().
Product: [Eclipse Project] Platform Reporter: Silenio Quarti <Silenio_Quarti>
Component: SWTAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: All   
OS: All   
Whiteboard:

Description Silenio Quarti CLA 2011-03-03 10:47:32 EST
It is clear that Display.getMenuBar() returns the application menu bar. No need to have "App" in the API name. It is also more consistent with current Shell.getMenuBar() API.

We are also adding Display.getSystemMenu() which returns the system-provide menu for the application. Only available on cocoa at the moment (menu with about, preferences, etc). See bug#329456.  We initially thought this API would be called getAppMenu(), but we decided to keep it consistent with all Display.getSystem* APIs (color, font, image, cursor, etc).  So the new concept "App" is not needed anymore.

We plan to add Shell.getSystemMenu() which returns the system-provide menu for shells (GTK/Windows).
Comment 1 Silenio Quarti CLA 2011-03-03 11:31:56 EST
Fixed > 20110303.