Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-ui-dev] Extract Method Refactoring

> > if nobody started working on the Extract Method Refactoring
> > or the try/catch Refactoring I would like to implement it.
>
> <extract temp you mean, i presume.>
>
> no, I mean extract method

?
extract method we do have.
can you be more precise here? :)

(..)
> ok, I have one question:
> I looked at RefactoringAction.canOperateOn:
> it seems to check for a selection in the outline view
> how can I check for a selection in the text editor (i.e. a selection of
> text) ?

please have a look at subclasses of TextSelectionAction (and the class
itself)

hope this helps
a.



Back to the top