Modify elements Modify elements You can move, copy, rename, delete, and re-order elements. In addition, you can display stereotypes of model elements, create graphical elements, and associate an image file with a model element. Moving elements To move elements, use any of the following methods: Љ You can move all elements within the browser by dragging-and-dropping them from one location to another, even across packages. Љ You can move a group of highlighted items to a new location in the project by dragging and dropping them into that location in the browser. Љ In addition, you can drag-and-drop packages, classes, actors, and use cases from the browser into diagrams.
Љ If code has already been generated for a class or package, you can open the code by dragging and dropping the class or package from the browser into an open editor, such as Microsoft Word , Visual C++, Borland C++, or Notepad. If the code exists, the standard “+” icon displays as you drag the element into the editor. If the “+” icon does not appear, most likely code has not yet been generated for the element. If the element has both a specification and an implementation file, both files are opened. See Smart drag-and-drop . Note Do not try to open the code for a class or package by dragging it from an object model diagram because this removes the element from the view.
Rational Rhapsody 331