Entering content frameProcedure documentation Moving Interface Components in Class(es) Locate the document in its SAP Library structure

Use

You can move attributes, methods and events of an interface to the implementing classes if required. See also: Class Diagram.

Caution

Note that moving interface methods that are redefined in subclasses requires further adjustments to the subclasses. The Assistant performs these adjustments for you.

Procedure

  1. Select the relevant interface and change to the Class Editor.
  2. Make sure you are in Change mode.
  3. Choose Utilities ® Refactoring Assistant.
  4. The Assistant is started in a separate window.

  5. Select the interface component and move it to the name of the implementing class using Drag & Drop.
  6. If there is more than one subclass, you can move the selected components to all the classes implementing the interface in one step by dragging the components to the Implementing classes folder.

  7. Save using the corresponding icon.
  8. Close the Assistant.

Result

The selected components of the interface are created in the implementing classes.

 

 

Leaving content frame