IAR Information Center

GETTING STARTED

GETTING STARTED

USER GUIDES

USER GUIDES

TUTORIALS

TUTORIALS

SUPPORT

SUPPORT

RELEASE NOTES

RELEASE NOTES

XMI IMPORT/EXPORT

XMI is a file format specified by the OMG intended for tool independent exchange of design models. This page gives a brief overview of how XMI import and export can be utilized in visualSTATE and what limitations that apply.

HOW TO IMPORT

Open Designer and chose Open from the File menu. Make sure that the file filter in the lower right corner is set to Statechart Files in XMI Format and browse to the XMI file you would like to import. Note that only the state machine parts of a UML design are imported, no class structures and no other diagram information. Further, no layout information is present in the XMI file, so visualSTATE will attempt to automatically layout the state charts.

HOW TO EXPORT

Open Designer on the model you would like to export to XMI format. Make sure that the proper topstate is highlighted in the project browser window and chose Save As from the File menu. Change Save as type to be xmi. A class structure will be created to hold the state machine corresponding to the exported topstate. Exported events, action functions and variables will be generated at appropriate places in the exported XMI structure. No layout information for the diagrams is exported. Different tools that import XMI will have different strategies for layouting the diagrams.

SPECIAL CONSIDERATIONS