I'm trying to add a submenu to Package-Explorer's project context menu. But, I can't find the menuid of that menu.
So my question is how to find a menuid in eclipse?
Thanks very much for any help.
option is available. or simply you can use shortcut to move: Alt+Shift+V . if it wasn't enabled or doesn't exist, in eclipse go to Window menu, select Customize perspective... a windows with for tabs will appear. select Menu visibility tab then expand Refactor , then tic the Move...
Right-click on the extension point and select New menuContribution. Create a new menu contribution with the "menu:org. eclipse. ui.
The Window menu allows you to open and close views and perspectives. It also allows you to bring up the Preferences dialog. The Help menu can be used to bring up the Help window, Eclipse Marketplace view or Install new plug-ins. The about Eclipse menu item gives you version information.
The Plugin Spy gives you easily information about the running UI.
Press "Alt+Shift+F1" to get information about the current running Eclipse plugin / data types / screen.
Press "Alt + Shift + F2" and select a menu to see who is contributing this menu.
for more information:
http://www.vogella.com/articles/EclipseCodeAccess/article.html#pluginspy
For Eg: Plugin Spy for PackageExplorer itself will show like this :
and for popup menu in the packaghe explorer for e.g. for refresh it shows like this :
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With