Skip to main content



      Home
Home » Newcomers » Newcomers » Perspective Specific actions
Perspective Specific actions [message #258086] Wed, 11 June 2008 07:40 Go to next message
Eclipse UserFriend
Hello All,

Please help me to make my actions as perspective specific. When I select
my perspective the actions and menus has to come and other perspectives it
should not come.

Currently my actions are coming to other perspective also. Please help me.

Thanks In Advance.
Re: Perspective Specific actions [message #258145 is a reply to message #258086] Thu, 12 June 2008 00:59 Go to previous message
Eclipse UserFriend
Originally posted by: annamalai.ancitconsulting.com

you wanna enable actions only on your perspective and not on others ...
This is done using PerspectiveExtensions ...

1. Add a PerspectiveExtension extension point in your extensions tab of
plugin.xml
2. Right Click on PerspectiveExtensions and create a new one if you are
using Eclipse 3.2 otherwise if it is 3.3 it would automatically appear ...
3. Select the node and you would find on your right hand side targetID
field. here enter the id of your perspective that you created.
4. Now right click on the perpective node and you would get options to
create view, actionSet, showView etc .. select actionSet.
5. In actionSet you need to specify the id of the actionSet that you wanna
associate with your perspective.
6. Go to your actionSet that you created and in the visibility property make
it blank ...
7. Save and RUN ... Clear your workspace before you run .. this should work.

Hope this helps ...

regards
Malai
"Nagesh" <nagesha.yj@in.bosch.com> wrote in message
news:087821d026e0a10d2cc2aaaf70f7d1fc$1@www.eclipse.org...
> Hello All,
>
> Please help me to make my actions as perspective specific. When I select
> my perspective the actions and menus has to come and other perspectives it
> should not come.
> Currently my actions are coming to other perspective also. Please help me.
>
> Thanks In Advance.
>
Previous Topic:eclipse 3.2.2 with tomcat 6 ?
Next Topic:RE: Seeing Java Annotations in the Eclipse IDE
Goto Forum:
  


Current Time: Fri May 09 06:40:03 EDT 2025

Powered by FUDForum. Page generated in 0.08594 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top