New Features
Enhanced Features
O/R Mapping
Tips and Tricks
UML Diagrams
VP Suite

Move/Copy/Reorder Class or Entity Members by Drag and Drop

Introduction

When modeling, we often need to move or copy model members, such as attributes / operations for class model and columns for entity model, for the sake of sharing similar characteristics or behaviors among models. For example, we may want to make every class model to have an ID attribute to make them unique. Besides moving and copying members, we may need to reorder them, too.

While the traditional approaches provide more comprehensive way for moving , copying and reordering through accessing dialog boxes and pressing special keys. All these can now be done by simply drag-and-drop - press on a member (or members), drag them to somewhere else to achieve moving, copying and reordering.

Belows we will demonstrate how to perform move, copy and reorder the class members by using drag-and-drop. The same technique apply to columns in entity as well.


Moving Class or Entity Members

Here we have a Class Diagram.

  1. Select (or multi-select) the member which needs to be moved.


  2. Drag the member to the target model.


    There is a black line indicating the position the member will be placed. We can order the member at the same time.


  3. Release the mouse button. Now the member is moved to the model.

Copying Class or Entity Members

  1. To copy the member, select (or multi-select) the member we needed.


  2. Keep pressing Ctrl key and drag the member to the target model.


    There is a black line indicating the position the member will be placed. We can order the member at the same time.


  3. Release the mouse button. Now the member is copied to the model.

Reordering Class or Entity Members

Sometimes, we need to reorder the members.

  1. Select the member (or multi-select) which needs to be reordered.


  2. Move the member to the desired position.


  3. Release the mouse button. Now the member is reordered.

Resources

 
 
Last modified: 2008/01/30 06:53
 
 
Home | Recent Topics | Highlights | UML Diagrams | Tips and Tricks | Object-Relational Mapping
visual-paradigm.com Home | Training Center | UML Center | VP Gallery | Discussion Forum | UML Open Directory