Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » convert interface to abstract class
convert interface to abstract class [message #250351] Tue, 25 December 2007 03:57 Go to next message
Eclipse UserFriend
Hi,
Can I use refactoring to convert an interface to an abstract class?
Thanks,
Zohar.
Re: convert interface to abstract class [message #250389 is a reply to message #250351] Fri, 28 December 2007 21:34 Go to previous message
Eclipse UserFriend
Originally posted by: ihatespam.hotmale.com

Not that I could find with a single click. You can create a new abstract
class that implements the interface, though. That was about 6 clicks when
I did it. Then just lose the "implements" piece.

I don't know if I would convert it though; I would ADD an abstract class.
That way folks can take advantage of whatever default behavior the
abstract class has if they choose, or they can choose to implement the
interface themselves directly.
Previous Topic:Memory profiling framework that integrates with JUnit
Next Topic:ISourceRange question
Goto Forum:
  


Current Time: Sat Apr 19 12:01:59 EDT 2025

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

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

Back to the top