Chapter 11 Managing Object Replications
You can use the drag and drop feature from the Browser to the diagram window and conversely to create replicas while using the alt+shift keys combination.
When you create a replica using the drag and drop feature, a specific icon (a rounded arrow within a circle) appears under the cursor.
You can also define the default behavior of a drag and drop action to directly create replicas.
For more information on how to define the default behavior of a drag and drop action, see "Defining drag and drop options" in the"Using the PowerDesigner interface" chapter.
To create a replica by drag and drop:
For more information on the drag and drop functionality, see the "Dragging and dropping objects" in the "Managing Objects" chapter.
Replicate Here contextual menu
You can also create a replica by clicking the right mouse button while dragging the target object and select the Replicate Here menu item from the contextual menu.
You can also directly replicate a sub-object by dragging and dropping it in the Browser while pressing the alt + shift keys combination. A table column, a class attribute or a class operation are sub-objects that you can replicate using the drag and drop feature.
It can be very useful to replicate a sub-object independently of its parent object (for example a column without the table that owns it) to create a reference library, in which you can store columns, attributes or operations for example that you regularly use. The replicated sub-objects can be modified according to your needs, while preserving the link to their target object.
The following example illustrates a column (Column_1) in Table_1 that is replicated in Table_2:
Copyright (C) 2005. Sybase Inc. All rights reserved. |