Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] trap the delete action of the contextmenu in the resourceNavigator

You can, however, get notified about folder deletions if that's all you 
want.  The resource delta is a tree structure and contains all changes 
from the projects on down.





John Arthorne/Ottawa/IBM@IBMCA
Sent by: eclipse-dev-admin@xxxxxxxxxxx
09/23/2003 09:38 AM
Please respond to eclipse-dev
 
        To:     eclipse-dev@xxxxxxxxxxx
        cc: 
        Subject:        Re: [eclipse-dev] trap the delete action of the 
contextmenu in the resourceNavigator



This isn't currently possible, but one of the plan items for release 3.0 
is to allow for plug-in participation in these kinds of operations.  Note 
that this won't allow you to re-implement a deletion, but merely to 
participate in the deletion operation, allowing you to clean up other 
references, etc.  Here is the link to the proposal: 

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-ui-home/r3_0/proposals/refactoring/participants.html 


And here is the plan item bug report where you can add your comments: 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=36943 
-- 




bildikar@xxxxxxxx 
Sent by: eclipse-dev-admin@xxxxxxxxxxx 
09/23/2003 06:07 AM 
Please respond to eclipse-dev 
        
        To:        eclipse-dev@xxxxxxxxxxx 
        cc:         
        Subject:        [eclipse-dev] trap the delete action of the 
contextmenu in the resourceNavigator



Hello,
friends,
I want trap the delete action from the contextMenu of the 
resourcenavigator, i am not deleting the entire project but only some 
files, so the resourceChanged listener is just returning the resource 
changed code, i have also refered to the article given in the forum 
resource-deltas.html but it says this for the delete option "There is no 
resource delta for these event types." now how do i trap the delete action 
on a file from the contextMenu for that case even the deletion of the 
folder.
kindly help me out,
thanks in advance
Abhijit 
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/eclipse-dev




Back to the top