[Pydev-code] [PATCH] Fix deletion of resources in PyDev package explorer
Brought to you by:
fabioz
From: Felix S. <fel...@os...> - 2008-05-12 10:47:23
|
One thing that annoyed me for some months is that I'm unable to delete files directly from the PyDev package explorer when using Eclipse 3.4 (M7, had the problem with M4, too). Symptoms: After click on delete in the context menu in the PyDev package explorer nothing happens (no window, no message, nothing). The same action the resource navigator works as expected. I found out that the problem is in PyDeleteResourceAction because getStructuredSelection is empty when called by Eclipse. I was able to fix that just by overriding getStructuredSelection but maybe you can just stop to subclass DeleteResourceAction. -- Felix Schwarz Dipl.-Informatiker Gubener Str. 38 10243 Berlin Germany www.schwarz.eu - software development and consulting |