One of the more common refactorings done is to change the owner of a part type. A common case is when a new, possibly abstract type is created, and the ownership of a part type needs to be moved up in the inheritance structure, from a sub-type to a parent type. This article describes how to complete the change.


Prerequisites

 Do not complete this action while other users are logged into the system.


  1. To get started, log in to the server with the swArchitect client, and go to the Refactorings tab.
  2. Select Change part type owner in the left-hand menu.
  3. Select the part type in the Change Owner of part type field using the browse button. The current parent item type will auto-populate in the from box. 
  4. Select the new parent item type in the to box. When you are ready, click Execute to immediately kick off the refactoring. 
  5. You must restart the server to see the change in the swExplorer client. 



No items are changed by this method, since it is a pure meta model change. 


To revert a change, you can move the ownership back to the original item type.