I would like to be able to completely remove menu items upon startup of my eclipse plugin application. What I want to do is be able to add these menu items later depending o
There are a number of ways to control the visibility of menu or toolbar items in an RCP application.
If you have control over the plug-in that contributes the item(s) in question, then the easiest way is usually to use the visibleWhen expression associated with the menus extension point. If you have some internal state you want to check, then you can use the test element of the expression together with a propertyTester.
An alternative is to use activities. These can control many other things of your application, thought you might need to re-implement some of the built-in dialogs. See this blog entry "Using activities for user management" for some details.