Adding a Menu Item for only one Perspective
Posted
by
Ro.
on Stack Overflow
See other posts from Stack Overflow
or by Ro.
Published on 2012-12-03T09:16:57Z
Indexed on
2012/12/04
11:09 UTC
Read the original article
Hit count: 250
I'm trying to add a Menu Item to the Run Menu in Eclipse via a plugin.
However, I only want this Item to appear when I'm in the "Report Design" perspective (this is for BIRT). Secondly, (if possible) I'd like the menu item to be only enabled if the extension of the open file is .rptdesign.
I'm not having any luck using either of the visibility or visibleWhen elements in the plugin.xml
Any hints appreciated, Ro
© Stack Overflow or respective owner