Thursday 15 January 2015

locate Eclipse's Preferences menu item programmatically in OS X -



locate Eclipse's Preferences menu item programmatically in OS X -

in windows/linux, utilize workbenchwindow.getmenumanager() navigate windows menu , locate preferences menu item. in os x, preferences menu item located in eclipse’s application pulldown menu. api locate preference item in os x? thanks!

the actions preferences (and help , quit) still added in normal places on mac action marked not visible (code in workbenchactionbuilder).

the mac code cocoauihandler sets mac menu items, searches hidden actions when action invoked.

so may not need special mac.

note: workbenchwindow internal class isn't part of official api, not concern testing code (it substantially different between eclipse 3.x , 4.x).

eclipse

No comments:

Post a Comment