Chapter 8 Managing Objects


Modifying object properties

You can modify the object properties using one of the following methods:

Steps To modify an object's properties from its property sheet:

  1. Double-click the object symbol or its entry in the Model Explorer.

    or

    Right-click the object symbol or its entry in the Model Explorer, and select Properties from the contextual menu.
  2. Enter changes to object properties on the various tabs.
  3. Click OK to close the property sheet and return to the model diagram.

Object lists display all the objects of a given type in the current model or package. If you want to edit the properties of multiple objects, you can often do this more quickly by editing in the object list.

Steps To modify one or more object's properties from an object list:

  1. Select Model→Objects to display the corresponding List of Objects .
  2. Select the object that you want to modify by clicking the numbered bar in the left-hand column.

    or

    Click and hold as you select multiple lines.

    The line(s) of the selected object(s) are highlighted.
  3. Modify any of the properties of the object(s) directly in the list.

    Note   Display the column you need
    If you do not see the column you need, display it with the Customize Columns and Filter tool. For details, see section Applying the customization parameters to a list in chapter Using the PowerDesigner Interface.



    or

    Double-click the arrow at the beginning of the line to display the object property sheet. If you have selected multiple objects, the property sheet of the first will be displayed. Modify the properties as required.
  4. Click OK.

You can modify an object property (like name, code, stereotype, or cardinality) directly from its symbol in the diagram without having to open its property sheet. Note that you cannot modify read-only properties or properties that display in a list (such as table columns), in this way.

Note   Renaming an object from its symbol in the diagram
You can rename an object from its symbol in the diagram by right-clicking the symbol and select Edit→Rename from the contextual menu.

You can .

Steps To modify properties of an object from its symbol in the diagram:

  1. Click an object symbol and Press f2.

    or

    Select an object symbol and then click it again.

    or

    Press ctrl while right-clicking a property name in the object symbol.

    The object name, or the first object property if the name is not displayed, becomes editable.
  2. Modify the property of the object in the edit zone. You can navigate to the next or previous editable property using tab and shift+tab
  3. Click outside the edit zone to commit the change

    The normal checks are performed and in case of error, the edit is lost.

Note   Edit in Place general option
You can also select the Edit in place after creation option in the General Option dialog box to automatically be able to modify the name of objects from their symbol in the diagram, whenever you create them from the palette.
For more information about how to select the Edit-in place option, see section Defining the graphic tool behavior in chapter Using the PowerDesigner Interface.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.