This refactoring allows you to easy create an interface based on the public methods of a class. An interface is created that includes all the public methods of the object and all classes that implement the interface have the "implements XXX" added.
To extract the interface of a class, select one or more classes. Right click on the class diagram for any of the classes. Select Type Refactorings -> Extract Interface. Select the package and enter the name of the interface.
Last Modified: 30 October 2003