RAD Studio (Common)
ContentsIndex
PreviousUpNext
Refactoring: Extracting Superclass
To use the "Extract superclass" operation:

  1. Select one or more code elements (class, interface, field, method, event, property, or indexer) in the Diagram or Model View.
  2. On the main menu, choose RefactoringExtract Superclass
    Tip: Alternatively, you can choose Refactoring->Extract Superclass
    on the context menu of the selection.
  3. In the Extract superclass dialog box, enter the name for the interface and designate its namespace, if applicable.
  4. Specify the members to be used in the resulting superclass by setting or clearing the respective check-boxes. If applicable, indicate that a method is abstract in the extracted superclass.
  5. Click OK. The Refactoring window opens allowing you to review the refactoring before committing to it.
  6. Click the Perform refactoring button to complete the extraction.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!