+1
I have had the same problem in the past.

Florian Hehlen

-----Original Message-----
From: calum.maclean 
Sent: 08 March 2002 10:02
To: eap-features
Cc: calum.maclean
Subject: [Eap-features] Extract Interface/Superclass enhancement


Say I've got a class, Event, from which I want to extract an interface.
This is commonly because I've now got another type of event, so want to
use
an interface and 2 implementations.
What I really want to do is call the interface Event, and rename my
original
class (e.g. to EventImpl).
This would mean that all declarations etc. of Event would remain
unchanged,
and only the instantiations of Event would have to be changed to
EventImpl.

With Extract Interface, you cannot do this - you can only name the
interface.
I'd like to see it enhanced so that you have the option to give the
interface the name of the original class, and rename the class to
something
else.

I recognise that you could do this in further steps of renaming.
However,
it's a long way round and would mean that you might change a client
class in
one renaming, then change it back to its original state in a subsequent
renaming.  This is particularly a pain if you're using e.g. VSS, because
you
then have to check out classes which will ultimately be unchanged.

All this would, I think, apply to both Extract Interface and Extract
Superclass.

Calum
CONFIDENTIALITY NOTICE: This message is confidential and for the use
only of
the intended recipient. If you receive the message in error you are not
entitled to disseminate, copy or use the contents in any way. In such
circumstances please forward the message back to the sender or contact
IT
Services at the group's parent company - Aspects Software Ltd, by
telephone
on +44 (0) 131 225 9500.  WARNING: While Aspects Software Ltd and all
its
subsidiaries take steps to prevent computer viruses from being
transmitted
via electronic mail attachements we cannot guarentee that attachments do
not
contain computer virus code. You are therefore strongly advised to
undertake
anti virus checks prior to accessing the attachement to this electronic
mail. Neither Aspects Software Ltd nor any of its subsidiaries grants
any
warrenties regarding performance use or quality of any attachment and
undertakes no liability for loss or damage howsoever caused. 

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features



Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to