Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Default main menu items in RCP app
Default main menu items in RCP app [message #1074474] Fri, 26 July 2013 22:10
Ric Wright is currently offline Ric WrightFriend
Messages: 70
Registered: July 2009
Member
If one creates the simple "Hello RCP" app using the basic wizard in
Eclipse, it creates a simple window with "Hello RCP" as the title of
the "window" that it creates. However, the main menu bar is named
"SWT" and has two menu items "Run" and "Search". I figured out
(through some painful searches and experiments) how to set up my own
menus and items, but it isn't clear how to programmatically remove
these other menus/items. They get set somewhere in the bowels of the
RCP setup but it isn't immediately obvious where (and of course it
isn't documented).

Moreover, the main menubar title is "SWT". Again, it isn't clear how
to get rid of this (or change it to my own title - changing the value
in the product file doesn't work). I found one article that proposed
dealing with it for standalone SWT apps renaming the shell

http://eclipsesource.com/blogs/2012/07/19/configuring-the-os-x-application-menu-for-swt-apps/


BUt he blithely says that it works fine in RCP apps. Unfortunately
this is not true as checking out innumerable tutorials shows. I've
even seen some "production" RCP apps that say 'SWT' on the main menu
bar. I've yet to come across a RCP app that has it's own name on the
main menu bar (not the client window, the main menu bar or window).

Anyone know how this might be done?

TIA, RIc
Previous Topic:Empty projects in my RCP app but not in plugin-version
Next Topic:Help with Eclipse
Goto Forum:
  


Current Time: Sat Dec 20 01:48:13 GMT 2014

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

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