Splitting Interfaces
Use
By splitting implemented interfaces you can move selected methods, attributes and events to a new interface. For more information, see Class Diagram.
Prerequisites
The original and new interfaces are implemented by the same class.
Procedure
- Create a new interface as described in Creating Interfaces.
- Select the interface from which you want to move the components.
- Define the interface you have created as the component interface. Proceed as described in Nesting Interfaces.
- Move the appropriate components from the original interface to the component interface. Proceed as described in Moving Interface Components to a Component Interface.
- Remove the interface nesting which was defined only for the move operation.
Result
The selected components are moved from the original interface to the new interface.