Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to disable copy command action for a particular CNF view?(To disable the copy command action for a particular view among many views available in an eclipse product)
How to disable copy command action for a particular CNF view? [message #684934] Thu, 16 June 2011 13:48
sivasankarir is currently offline sivasankarirFriend
Messages: 7
Registered: April 2011
Junior Member
Hi,

I have a product with several customized views. One of the views is based on Common Navigator Framework. All I need is:

To disable 'copy' pop up menu and action in this view alone, only when IProject resource is selected. For other resources in this view, and for all other views, copy should be visible and enabled.

I tried activities to disable copy command as

<activityPatternBinding
activityId="com.hideMenusActivity"
pattern="org\.eclipse\.ui\.edit\.copy">
</activityPatternBinding>

But this removes 'copy' from all the available views.

Is it possible to remove it from a particular view and for a particular selection?

Thanks in advance!
Previous Topic:Declarative lightweight decorator
Next Topic:Singleton plug-ins for multiple launches, how separate data/behavior for each launch?
Goto Forum:
  


Current Time: Tue Aug 04 07:47:13 GMT 2020

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

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

Back to the top