[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
AW: [jdt-ui-dev] Extract Method Refactoring
|
-----Ursprüngliche Nachricht-----
Von: jdt-ui-dev-admin@xxxxxxxxxxx
[mailto:jdt-ui-dev-admin@xxxxxxxxxxx]Im Auftrag von adam kiezun
Gesendet: Montag, 10. Dezember 2001 15:06
An: jdt-ui-dev@xxxxxxxxxxx
Betreff: 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? :)>
aehm where ?
extract method (from Fowler):
-select some expressions
-wrap the selection into a method
?
(..)
> 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)>
thanx for the hint
Jens