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
- 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.
- In RAD Studio, choose FileNewVCL Forms Application - Delphi.
- Open the Model View Window, right-click the top-level project node in the tree, and choose Import Project from XMI.
- In the XMI Import dialog box, click the Browse button to navigate to the XMI file you exported in step one.
- Click the Import button in the XMI Import dialog box.
RAD Studio will generate Delphi source code for the model elements on the class diagrams in the XMI file.
To export a model in XMI format
- Open the Model View Window, right-click the top-level project node in the tree, and choose Export Project to XMI.
- 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.
- Click the Browse button to navigate to the destination folder.
- Enter a target file name for the exported file.
- Click the Export button in the XMI Export dialog box.