Control visibility of an action declared in plugin.xml [message #330601] |
Tue, 05 August 2008 10:29  |
Eclipse User |
|
|
|
Originally posted by: guillaume.x.bedard.jpmorganchase.com
Hi!
Does anyone know how to control the visibility of an action that is
declared in plugin.xml? I want to be able to filter out menu bar items.
Thanking you in advance,
Guillaume
|
|
|
|
Re: Control visibility of an action declared in plugin.xml [message #330643 is a reply to message #330627] |
Thu, 07 August 2008 03:26  |
Eclipse User |
|
|
|
The newer "menus" extension point has a visibleWhen clause. Check out the
extension point documentation, especially the examples at the end.
Craig
On Wed, 06 Aug 2008 10:24:32 +0200, Stefan Winkler wrote:
> Hi Guillaume,
>
> Guillaume Bedard schrieb:
>> Does anyone know how to control the visibility of an action that is
>> declared in plugin.xml? I want to be able to filter out menu bar
>> items.
> Which extension point do you use?
>
> A brief howto which describes the visibility/enablement of actions
> declared using the org.eclipse.ui.popupMenus extension point can be
> found at
> http://xpomul.bloggles.info/2008/07/24/using-advanced-featur es-in-
eclipse-popup-menus/
>
> Cheers,
> Stefan
|
|
|
Powered by
FUDForum. Page generated in 0.03705 seconds