RAD Studio for Microsoft .NET
ContentsIndex
PreviousUpNext
Importing and Exporting a Model Using XML Metadata Interchange (XMI)

RAD Studio supports XMI version 1.1. Please see the link to the OMG website at the end of this document for more information on XMI or to download the complete specification.

To import a model in XMI format

  1. Export the model from the modeling tool, using the XMI format. When exporting from Rational Rose, choose XMI version 1.1, using the Unisys extension.
  2. In RAD Studio, choose FileNewOther.
  3. Select ECO Windows Forms Application from the New Items dialog box.
    Note: You can use either Delphi for .NET, or C# when starting the new ECO application.
  4. Open the Model View Window, right-click the top-level project node in the tree, and choose Import Project from XMI.
  5. In the XMI Import dialog box, click the Browse button to navigate to the XMI file you exported in step one.
  6. Click the Import button in the XMI Import dialog box.
RAD Studio will generate ECO-enabled, Delphi or C# source code for the model elements on the class diagrams in the XMI file.

To export a model in XMI format

  1. Open the Model View Window, right-click the top-level project node in the tree, and choose Export Project to XMI.
  2. In the XMI Export dialog box, select the XMI version and XMI encoding appropriate for the tool you will ultimately use to open the model file.
  3. Click the Browse button to navigate to the destination folder.
  4. Enter a target file name for the exported file.
  5. Click the Export button in the XMI Export dialog box.

Object Management Group (OMG) Website 

UML Features in Delphi for .NET 

Integrated Modeling Tools Overview 

Code Visualization Overview 

Using the Model View Window and Code Visualization Diagram 

Using the Overview Window 

Adding Columns to a Component 

Using the OCL Expression Editor

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!