Show TOC

 Moving Interface Components to a Component InterfaceLocate this document in the navigation structure

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 .

Caution

If the interface is already implemented by classes, you need to make certain adjustments to the classes. The Refactoring Assistant performs these adjustments for you.

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.

Tip

You can also split an implemented interface using the described function. For more information, see Splitting Interfaces .