Moving Components to Associated Classes

Use

You use this procedure to move attributes, methods and events of a class to an associated class.

Procedure

  1. Select the class.
  2. Make sure you are in Change mode.
  3. Choose Utilities → Refactoring → Refactoring Assistant.
  4. Select the component to be moved and move it to the name of the associated class (in the Associations folder) using Drag & Drop.
  5. Choose Save.

Result

The selected component is deleted from the original class and created in the associated class.