Chapter 9 Customizing your Modeling Environment


Specifying text editors

When you are using PowerDesigner, you will need to edit such things as descriptions and annotations for objects, or generated scripts like SQL in the PDM or Java in the OOM

By default, all files are edited using PowerDesigner's internal editor. You can define an external text editor to launch automatically for editing various kinds of objects. You can define as many text editors as you need, and the same file extension can have several text editors allocated, with the first listed acting as the default.

Steps To define a text editor:

  1. Select Tools→General Options and click the Editors category in the left-hand pane.
  2. Click the Insert a Row tool, and enter a file extension (such as .DOC, .RTF, .TXT, .XLS) in the Extension column.

    The Editor Name and Editor Command columns are both set to <internal> to indicate that the internal PowerDesigner editor will be used to edit files with this extension.
  3. [optional] Enter an editor name (such as MS Word, Notepad, MS Excel) in the Editor Name column, and enter an editor command (such as winword.exe) in the Editor Command column. You can click the ellipsis button in this field to browse to the relevant directory.
  4. Click OK to close the dialog box.

 


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