Generating EMF Files

PowerDesigner can generate EMF .ecore and .genmodel files.

  1. Select Language > Generate EMF Code to open the Generation dialog box:
  2. Enter a directory in which to generate the files and specify whether you want to perform a model check.
  3. [optional] On the Selection tab, specify the objects that you want to generate from. By default, all objects are generated, and PowerDesigner remembers for any subsequent generation the changes you make.
    Note:

    Although you can create all the standard UML diagrams and their associated objects, you can only generate packages, classes, and interfaces.

  4. [optional] Click the Options tab and specify the EMF version that you want to generate for.
  5. Click OK to begin generation.

    A Progress box is displayed. The Result list displays the files that you can edit. The result is also displayed in the Generation tab of the Output window, located in the bottom part of the main window.