Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Extracting Interfaces
Extracting Interfaces [message #203190] Wed, 11 May 2005 19:23 Go to next message
Eclipse UserFriend
Originally posted by: georgenospam.tksoftwarenospam.com

I think this would be the place to post this question...

I have a class that I want to extract an interface from. The problem that I
have is that the class is a sub-class of another class. I want the interface
for the subclass to include some of the methods from the superclass. I know
I can just go in and add them by hand, but why doesn't the refactor "extract
Interface" wizard show me the public methods of my parent classes as well as
the public methods of my subclass? Is that a no no?
Re: Extracting Interfaces [message #203249 is a reply to message #203190] Thu, 12 May 2005 06:12 Go to previous message
Eclipse UserFriend
George Smith wrote:

> I think this would be the place to post this question...
>
> I have a class that I want to extract an interface from. The problem that I
> have is that the class is a sub-class of another class. I want the interface
> for the subclass to include some of the methods from the superclass. I know
> I can just go in and add them by hand, but why doesn't the refactor "extract
> Interface" wizard show me the public methods of my parent classes as well as
> the public methods of my subclass? Is that a no no?

I don't see a reason why that wouldn't work in principle. You can file an
enhancement request for this at https://bugs.eclipse.org/bugs/ (JDT/UI)

Markus
Previous Topic:Managing several projects
Next Topic:Trying to refactor programmatically
Goto Forum:
  


Current Time: Fri May 16 06:27:03 EDT 2025

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

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

Back to the top