Re: [Pydev-code] [PATCH] Fix deletion of resources in PyDev package explorer
Brought to you by:
fabioz
From: Fabio Z. <fa...@gm...> - 2008-05-12 11:47:57
|
Hi Felix, I've just applied all the patches you've sent to the list (thanks a lot). Now, I just wanted to ask you to add new patches to the sourceforge trackers -- you can add them as bugs with the prefix [PATCH] (sometimes I don't have time to apply them right away -- and in this case there's a high probability that they may end up being forgotten if they're just in the list and not in the trackers). Thanks for the patches again, Cheers, Fabio On Mon, May 12, 2008 at 7:47 AM, Felix Schwarz <fel...@os...> wrote: > > 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 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > > |