To save time and effort, you can use the Rational Software Architect Project Explorer to copy and paste Classes, Operations and Attributes. Operations and attributes can only be copied in the same class or between classes of the same type. An example of how to copy and paste between classes is:
- Select the attribute(s) in the tree control of the Rational Software Architect Project Explorer.
- Right-click on the selected attribute(s) to be copied and choose 'Copy' from the context menu.
- Then right-click on the class (of the same type) to receive the new attribute and choose 'Paste'.
You can use a similar technique for moving attributes via 'Cut' and 'Paste'.
Note: If you try to copy/paste across different class types you will receive an error dialog indicating: "The requested action violates the integrity of the model."