Skip to content

Importer and exporter

This page describes language that you can use to import and export data from other languages or models. If you need a tighter integration into MPS with the original files existing, use custom persistence ⧉. This approach is an advanced feature that is not used often.

ECore

com.mbeddr.mpsutil.ecore

This language contains an importer and exporter of the metamodel (ECore ⧉) of the Eclipse Modelling Framework. The conversion is between an XML file and an MPS model. The importer can import Ecore and Ecore model files.

Access the action by right-clicking a model and opening the Ecore Transformation tools group.

XML Import

com.mbeddr.mpsutil.xmlImport.plugin

This plugin adds two actions for importing XML files into MPS:

  • Paste as XML Content: This action is located in the editor context menu, parses XML code, and adds it to the next XML node or root node.
  • Import XML File(s): This action parses on or multiple XML files and creates XML root nodes for them in the selected model.

Last update: July 16, 2023

Comments