[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Making menus visible/not visible in the workbench per plugin

I'm really stumped; I've tried combing help and these newsgroups without success. My problem is I want to have menus made visible on the top level menu (i.e. workbench menu) when I have a certain perspective open (e.g. a perspective associated with a plugin) and not visible when I do not have the perspective open. I checked out the help (keep in mind I am using Eclipse 3.01, though this appears very similar in the 3.1 help):

http://help.eclipse.org/help30/index.jsp (see Platform Plug-In Developer Guide/ Programmer's guide/Advanced Workbench Concepts/Boolean expressions and action filters)

and from the text it would appear that I need to use an enablement in the actionset-action extension. I then need to set the "visibility" element and a boolean pluginstate to be set to "activated" (by the way, what is the definition of "activated"?). However, I can't add this visibility element to my plugin.xml without an error stating this cannot be added?

Any help appreciated thanks!