I would just go to the class declaration line and type "implements Whatever" and use the quickfix (Alt+Enter) for implementing the necessary methods. If you need to extract a new super class or interface, then there are refactorings "extract interface", "extract superclass" and "pull members up".
Kagan Han wrote on 1.1.2009 21:11:
Hi, Is there any way to add super class or interface to an existing class by using any refactoring tools or other built-in keymaps?
Sorry for duplication. Since it gave an error message at my first attempt, I thouht that it was not submitted and posted again.
I would just go to the class declaration line and type "implements
Whatever" and use the quickfix (Alt+Enter) for implementing the
necessary methods. If you need to extract a new super class or
interface, then there are refactorings "extract interface", "extract
superclass" and "pull members up".
Kagan Han wrote on 1.1.2009 21:11:
--
Esko Luontola
www.orfjackal.net