Chapter 8 Managing Objects


Creating a file object

There are several ways to create a file object:

At creation, a file object is embedded by default within the model and has a default name including a number. This number is assigned in the order of creation of objects.

For more information on the different ways to create a file object, see section Creating an object.

You can also create a file object from the contextual menu of a symbol in the diagram.

For more information, see section Attaching a file object to a PowerDesigner object.

Note   Drag and drop from the Windows Explorer
You can easily create an external file within your PowerDesigner model by dragging and dropping a file from the Windows Explorer to your PowerDesigner model.

Steps To create a file object from a diagram:

  1. Click the File tool in the diagram toolbar.
  2. Click an empty space in the diagram to display the following symbol at the click position.
  3. Click the Pointer tool.

    or

    Right-click to release the File tool.
  4. Double-click the file object name in the diagram to display its property sheet.
  5. Type a file object name.
  6. (Optional) Type a stereotype.
  7. (Optional) Select a Location Type, if you want to define the file object externally, otherwise the file object is embedded by default.
  8. (Optional) Browse to the directory that contains the external file in the Location box, if you clicked the External File radio button.

    or

    (Optional) Type the Web address to access the file on a web site, if you have clicked the URL radio button.
  9. Type an extension.
  10. Click OK.

 


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