Refactoring - Extract Class [message #42422] |
Mon, 20 January 2003 17:53  |
Eclipse User |
|
|
|
The refactorings in Eclipse are extremely useful. I've been really
impressed with the smarts in Pull Up Method, for example.
Eclipse has an Extract Interface refactoring. Is it going to get an Extract
Class refactoring? I'd probably use that more than extracting an interface.
For example, I have four classes, NorthEdge, WestEdge (you can guess the
other two :-) I'd like to insert a base class Edge and begin pulling fields
and methods into it.
Am I missing this refactoring (it's called something else?) or is this
something that's coming?
Cheers,
Graham Perks.
|
|
|
Re: Refactoring - Extract Class [message #42481 is a reply to message #42422] |
Tue, 21 January 2003 05:00  |
Eclipse User |
|
|
|
Originally posted by: adam_kiezun.oti.com.spam.protection
> The refactorings in Eclipse are extremely useful. I've been really
> impressed with the smarts in Pull Up Method, for example.
i'm glad to hear thta you like it
(btw. additional coolnes was been released to pull up method just yesterday)
> Eclipse has an Extract Interface refactoring. Is it going to get an Extract
> Class refactoring? I'd probably use that more than extracting an interface.
>
> For example, I have four classes, NorthEdge, WestEdge (you can guess the
> other two :-) I'd like to insert a base class Edge and begin pulling fields
> and methods into it.
>
> Am I missing this refactoring (it's called something else?) or is this
> something that's coming?
i'd call it Insert Superclass (you select a bunch of subclasses of a class and insert a common superclass betweeen them and their
current superclass)
nope, it's not on the 2.1 plan
feel free to enter a feature request for it, though
cheers
a.
------------------
eclipse.org
------------------
|
|
|
Re: Refactoring - Extract Class [message #588956 is a reply to message #42422] |
Tue, 21 January 2003 05:00  |
Eclipse User |
|
|
|
> The refactorings in Eclipse are extremely useful. I've been really
> impressed with the smarts in Pull Up Method, for example.
i'm glad to hear thta you like it
(btw. additional coolnes was been released to pull up method just yesterday)
> Eclipse has an Extract Interface refactoring. Is it going to get an Extract
> Class refactoring? I'd probably use that more than extracting an interface.
>
> For example, I have four classes, NorthEdge, WestEdge (you can guess the
> other two :-) I'd like to insert a base class Edge and begin pulling fields
> and methods into it.
>
> Am I missing this refactoring (it's called something else?) or is this
> something that's coming?
i'd call it Insert Superclass (you select a bunch of subclasses of a class and insert a common superclass betweeen them and their
current superclass)
nope, it's not on the 2.1 plan
feel free to enter a feature request for it, though
cheers
a.
------------------
eclipse.org
------------------
|
|
|
Powered by
FUDForum. Page generated in 0.45486 seconds