| Participate in CopyAction [message #335714] | 
Thu, 23 April 2009 04:47   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: mail.andreasscharf.com 
 
Hi, 
 
I think I have a common problem but I don't know how to solve it: I  
simply want to participate in the PasteAction when the user copy  
resources from my own Navigator implementation. The Navigator registers 
an EditActionProvider which itself provides the EditActionGroup which  
contains the actions for Copy/Paste/Delete. If the user copys a resource  
and paste it somewhere else, I want to do the normaly copy/paste action  
and afterwards I need to modify some IDs in the copied file. 
 
I already have tried to do it via the ltk participants (which obviously  
only works for Delete actions) and by adding my own action provider via  
the org.eclipse.ui.navigator.navigatorContent extension-point. But in  
both cases I don't get sufficient results. 
 
Any hints? 
 
Greetings, 
Andreas
 |  
 |  
  | 
 | 
Powered by 
FUDForum. Page generated in 0.05643 seconds