Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Remove "Software updates" and "Key assist..." actions from help menu
Remove "Software updates" and "Key assist..." actions from help menu [message #443648] Thu, 02 February 2006 13:04 Go to next message
Vincent Etter is currently offline Vincent EtterFriend
Messages: 72
Registered: July 2009
Member
Hello,

I have a help menu in my RCP application. Some items ("Software updates"
and "Key assist") are automatically added this menu.

How may I remove them ?

I tried to change the MenuManager's id. It worked but it made some
errors. Is there a better way to to this ?

Thanks !

Vincent
Re: Remove "Software updates" and "Key assist..." actions from help menu [message #443669 is a reply to message #443648] Thu, 02 February 2006 16:35 Go to previous messageGo to next message
Stanley is currently offline StanleyFriend
Messages: 6
Registered: July 2009
Junior Member
I think the two menus only show up when you started your application from
Eclipse.
Export your product, it won't show up.


"Vincent Etter" <v.etter@net4all.ch> wrote in message
news:drsvvk$7f6$1@utils.eclipse.org...
> Hello,
>
> I have a help menu in my RCP application. Some items ("Software updates"
> and "Key assist") are automatically added this menu.
>
> How may I remove them ?
>
> I tried to change the MenuManager's id. It worked but it made some
> errors. Is there a better way to to this ?
>
> Thanks !
>
> Vincent
Re: Remove "Software updates" and "Key assist..." actions from help menu [message #514704 is a reply to message #443648] Tue, 16 February 2010 12:06 Go to previous message
hjembaek is currently offline hjembaekFriend
Messages: 5
Registered: February 2010
Junior Member
I fixed this by adding the following to my plugin.xml:

   <extension
         point="org.eclipse.ui.activities">
      <activity
            id="My.unwanted.commands"
            name="Unwanted Commands">
         <enabledWhen>
            <with
                  variable="activePartId">
               <equals
                     value="unwanted">
               </equals>
            </with>
         </enabledWhen>
      </activity>
      <activityPatternBinding
            activityId="My.unwanted.commands"
            pattern="org.eclipse.ui.ide.application.*">
      </activityPatternBinding>
      <activityPatternBinding
            activityId="My.unwanted.commands"
            pattern="org.eclipse.ui.window.showKeyAssist">
      </activityPatternBinding>
   </extension>
Previous Topic:Customize About Dialog
Next Topic:Placing label text on left side of check box
Goto Forum:
  


Current Time: Sun Nov 23 03:36:07 GMT 2014

Powered by FUDForum. Page generated in 0.01931 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software