Moving Interface Components to a Component Interface

Use

You can move attributes, methods and events of an interface to a component interface if you have interface nesting. For more information, see Class Diagram.

Procedure

  1. In the Class Builder, open the interface you want to move.
  2. Make sure you are in Change mode.
  3. Choose Utilities → Refactoring → Refactoring Assistant.
  4. Select the interface component and move it to the name of the component using Drag & Drop.
  5. Choose Save.

Result

The selected components of the interface are created in the component interface and the required adjustments are made to the implementing class.