Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338825 - Rename Display.getAppMenuBar() to getMenuBar().
Summary: Rename Display.getAppMenuBar() to getMenuBar().
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 10:47 EST by Silenio Quarti CLA
Modified: 2011-03-11 11:01 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 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.