[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: Default menues for an RCP

On Fri, 23 May 2008 11:37:17 +0300, "Florin Banica"
<fbanica@xxxxxxxxxx> wrote:

>Nobody? No help?
>
>"Florin Banica" <fbanica@xxxxxxxxxx> wrote in message 
>news:g13cvu$epv$1@xxxxxxxxxxxxxxxxxxxx
>> Hi all,
>>
>> I did an RCP app, but I'm not happy with some menu item which appears in 
>> my
>> app. For example, the "Open File..." menu in the "File", which seems to be
>> "inherited from the Eclipse workbench...
>>
>> So, my questions are: how to get rid of the "Open
>> File..." into the "File" menu and how to find the "implementation" of the
>> "Software updates"
>> sub-menu in the "Help" menu...
>>
>>
>> Thanks,
>>
>>
>>
>> Floppy
>>
>> 
>

The menu contributions come from the related plug-ins. Once you get
rid of the plug-ins, i.e. don't include them in your RCP, the menu
items should go away.

To find your implementation you should look for a plug-in called
Plug-In Spy (available in 3.4 by default).  Using Shift-Alt-F1 while
hovering over your GUI components you will see a lot of information
about them. So open your dialog and Shift-Alt-F1.

And I think you can start looking at org.eclipse.update. Be aware that
there is a lot of code in the update packages. Modifying this code
will probably need at least a few weeks (we did this once for a
customer and worked for about half a year on the code, but there where
requirements with no solutions available in update manager).

Achim
-- 
Achim Lörke

Eclipse-Stammtisch in the Braunschweig, Germany area:
http://www.bredex.de/de/career/eclipse.html