Skip to main content



      Home
Home » Eclipse Projects » Technology Project and PMC » Refactoring - Extract Class
Refactoring - Extract Class [message #42422] Mon, 20 January 2003 17:53 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
> 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
------------------
Previous Topic:Help on SWT Standalone Examples Setup
Next Topic:plugin development jms, jndi
Goto Forum:
  


Current Time: Tue Jul 22 12:56:15 EDT 2025

Powered by FUDForum. Page generated in 0.27922 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top