|
Re: empty run menu visible after disabling all related actions [message #541002 is a reply to message #540884] |
Fri, 18 June 2010 00:00 |
|
Check out the "org.eclipse.ui.perspectiveExtensions" extension point's
"hiddenMenuItem" element. Specify a perspective id (or * for all) and a
command id to hide that command's associated menu item in that
perspective. Use Menu Spy, ALT+SHIFT+F2 to find the command id.
Craig
On Thu, 17 Jun 2010 16:24:21 +0200, Andreas Pakulat wrote:
> Hi,
>
> I've used an activity that is always disabled in my product to make sure
> that none of the available Run options is visible to the user.
> Unfortunately this leaves an empty "Run" menu in the menu bar and so far
> I haven't found a a way of removing it using the activity.
>
> Did somebody else ever run into this and/or knows a solution (that
> doesn't involve removing the menucontribution programmatically)?
>
> Andreas
|
|
|
|
Powered by
FUDForum. Page generated in 0.02745 seconds