Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsRe: actionsSet is visible in all perspectives
https://www.eclipse.org/forums/index.php/mv/msg/159968/505361/#msg_505361
Originally posted by: ddd.asd.com
"klm" <ddd@asd.com> wrote in message news:hhdpp4$fok$1@build.eclipse.org...
>I would like to create an actionSet that contains a menu which is only
>visible when the Reporting Perspective is choosen. I have done the
>following:
>
>
> <extension point="org.eclipse.ui.perspectiveExtensions">
> <perspectiveExtension
> targetID="org.eclipse.birt.report.designer.ui.ReportPerspective ">
> <actionSet
> id="DropDownButton.actionSet">
> </actionSet>
>
> </perspectiveExtension>
> </extension>
>
>
> <extension
> point="org.eclipse.ui.actionSets">
> <actionSet
> id="DropDownButton.actionSet"
> label="MyFirst ActionSet"
> visible="false">
> <menu
> id="DropDownButton.menu"
> label="MyFirstMenu"
> path="additions">
> <groupMarker
> name="content">
> </groupMarker>
> <separator
> name="additions">
> </separator>
> </menu>
> <action
> id="DropDownButton.action"
> label="RunMyApplication"
> menubarPath="DropDownButton.menu/content"
> style="push">
> </action>
> </actionSet>
> </extension>
>
>
> I have explicitly set visible to "false" based on the steps (step i)
> described here:
>
> http://www-10.lotus.com/ldd/lewiki.nsf/dx/dqx1lpp_ui_addinga ndcontributingmenus.htm
>
>
> but when I launch the plugin the menu appears in all perspectives. How do
> I make the menu only appear when the ReportPerspective is active?]]>2009-12-29T18:24:07-00:00actionsSet is visible in all perspectives
https://www.eclipse.org/forums/index.php/mv/msg/159968/505353/#msg_505353
Originally posted by: ddd.asd.com
I would like to create an actionSet that contains a menu which is only
visible when the Reporting Perspective is choosen. I have done the
following:
but when I launch the plugin the menu appears in all perspectives. How do I
make the menu only appear when the ReportPerspective is active?]]>2009-12-29T20:45:19-00:00Re: actionsSet is visible in all perspectives
https://www.eclipse.org/forums/index.php/mv/msg/159968/603893/#msg_603893
Originally posted by: ddd.asd.com
"klm" <ddd@asd.com> wrote in message news:hhdpp4$fok$1@build.eclipse.org...
>I would like to create an actionSet that contains a menu which is only
>visible when the Reporting Perspective is choosen. I have done the
>following:
>
>
> <extension point="org.eclipse.ui.perspectiveExtensions">
> <perspectiveExtension
> targetID="org.eclipse.birt.report.designer.ui.ReportPerspective ">
> <actionSet
> id="DropDownButton.actionSet">
> </actionSet>
>
> </perspectiveExtension>
> </extension>
>
>
> <extension
> point="org.eclipse.ui.actionSets">
> <actionSet
> id="DropDownButton.actionSet"
> label="MyFirst ActionSet"
> visible="false">
> <menu
> id="DropDownButton.menu"
> label="MyFirstMenu"
> path="additions">
> <groupMarker
> name="content">
> </groupMarker>
> <separator
> name="additions">
> </separator>
> </menu>
> <action
> id="DropDownButton.action"
> label="RunMyApplication"
> menubarPath="DropDownButton.menu/content"
> style="push">
> </action>
> </actionSet>
> </extension>
>
>
> I have explicitly set visible to "false" based on the steps (step i)
> described here:
>
> http://www-10.lotus.com/ldd/lewiki.nsf/dx/dqx1lpp_ui_addinga ndcontributingmenus.htm
>
>
> but when I launch the plugin the menu appears in all perspectives. How do
> I make the menu only appear when the ReportPerspective is active?]]>2009-12-29T23:19:06-00:00