RefactorPull Members Up (or: Push Members Down)
You can open the Pull Members Up/Push Members Down dialog boxes from the Refactoring main menu, or by using the Refactoring | Pull Members Up (or Push Members Down) commands on the context menu of applicable class diagram elements. Both the Pull Members Up/Push Members Down commands are available for methods, properties, fields, indexers, and events.
Select members: |
A table displays the selected members that you have chosen to pull up (or push down). By default, all members are selected. Use the checkboxes in the first column of the table to indicate which members to pull up/push down. The third column allows you to indicate whether to make the member abstract. |
Select the class to pull (or push) member to: |
At the bottom of the dialog, a hierarchy displays. Select the class where you want to pull up/push down your selected members. |
View references before refactoring: |
By default, View references before refactoring is checked. If this options is checked when you click OK, the Refactoring window opens allowing you to review the refactoring before committing to it. If this option is cleared when you click OK, the Refactoring window opens with the pull up/push down operation completed. |
Buttons |
|
OK |
Opens the Refactoring window. |
Cancel |
Discards all changes and closes the dialog box. |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|