Community
Participate
Working Groups
Menus "swich workspace" and "restart" would rather be just above "Exit", since those 3 operations are somewhat related.
+1
New Gerrit change created: https://git.eclipse.org/r/73453
For the Restart, is enough setting the locationURI="menu:file?before=quit". See attached change, and visual result here: http://i.imgur.com/zuzJTfb.png . But for the "Switch Workspace" is harder, as the menu is not defined via XML, but programmatically, in the class OpenWorkspaceAction: The constructor, OpenWorkspaceAction(.) sets "Open &Worskspace" as text, and the inner class OpenDialogAction defines the MenuItem "Open Workspace > Other..." Do you have any hint/reference on how to complete this?
(In reply to Patrik Suzzi from comment #3) > Do you have any hint/reference on how to complete this? Several actions are just wrapper around a command. Maybe convert it to a command, wrap it in the action and only add it to the menu via the command?
With the updated change, both Switch Workspace and Restart are above the Exit menu Item. I did not create a new command, but I could do if it's the recommended way. please, see how it looks: http://i.imgur.com/j3o8pFa.png
Should we add a separator before exit?
M1 is done. Moving to M2.
With the latest change, I added a separator, that will be hidden on Mac, as it happens for the Menu see how it looks on PC: http://i.imgur.com/ctd56q4.png and this is how it looks on Mac: http://i.imgur.com/UOJrD6P.png
Gerrit change https://git.eclipse.org/r/73453 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=d0400083aa1a3b8126af4468bb5fc6888410ee8c
There separator between Restart and Exit should be removed, see e.g. Firefox.
Fixing shortly
New Gerrit change created: https://git.eclipse.org/r/78888
With the latest change, the menu is as requested. Please, see linked images. - Win: http://i.imgur.com/ctd56q4.png - Linux: http://i.imgur.com/XQDbvCa.png - Mac: http://i.imgur.com/lncALJn.png
Sorry, in the comment above, the first link is wrong. Below you can see the correct images: - Win: http://i.imgur.com/Sb1O8Si.png - Linux: http://i.imgur.com/XQDbvCa.png - Mac: http://i.imgur.com/lncALJn.png
Gerrit change https://git.eclipse.org/r/78888 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=c2300a4f0aee8a54f900eff35f044b0fce023a87
Fixed for M2
(In reply to Patrik Suzzi from comment #16) > Fixed for M2 Thanks. Please add a small N&N entry for this.
New Gerrit change created: https://git.eclipse.org/r/79036
Gerrit change https://git.eclipse.org/r/79036 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=a9b29048e93a29e180a957d8bbb2e6832d5b2d8f