From: Werner S. (murphee) <wer...@gm...> - 2007-04-27 14:45:10
|
Mirko Stocker wrote: > On Thursday 26 April 2007 17:16:29 Werner Schuster (murphee) wrote: > >> However: I don't think you should _remove_ the Rename call; instead use >> the refactoringParticipants extension point; >> > Ah, that's much better. I didn't knew that, thanks. Now, it kind of works but > only when I'm in the Java Perspective (with the dialog that pops up for > renaming). In our Ruby perspective, the rename is done inline.. seems like I > have to figure out how to change that? When you do the Rename in the Ruby perspective, does your refactoringParticipant get notified? Hang on a second... when you say Java Perspective: do you mean you do the rename in the Package explorer? There might be something different there than in the Navigator. > Or rather what code I need to copy paste from JDT ,-) > Ah... yes... BTW: a little tip: if you want to figure out how to some IDE feature, I like to glance at the Pydev source - it's much more straightforward than the JDT; the JDT is more abstract (for good reasons) which makes it harder to understand things. murphee |