Refactoring - Moving Members
Go Up to Refactoring Procedures Index
This topic explains how to use the "Move members" operation.
To move a static member to a different class:
- Select one or more static members in the Code Editor or the Modeling's Diagram View or Model View.
- On the main menu choose Refactor > Move.
Tip: Alternatively, right-click on the selection and choose Refactor > Move Members on the context menu
- In the Move Members dialog, use the Move Members field to select which static members to move. You can deselect/select the static members by clearing/checking the check box next to the name of the member
- Use the To field to enter the fully-qualified name for the target class where the selected code element or elements will reside.
- Click OK.