Importing a metamodel
To import a metamodel:
- Click File > Import.
- Select the Metamodel item and click Next.

- Type the name of the plugin project to create (e.g.
com.sodius.mdw.example.library)
in the Project name field, and click Next

- Choose a type of metamodel importer (e.g. Ecore Importer):
- Ecore: handles EMF metamodels (
*.ecore).
- KM3: handles KM3 metamodels (
*.km3).
- UML 1.3: handles metamodels defined in a UML 1.3 XMI file (
*.xmi).
- UML 2.1: handles metamodels defined in a UML 2.1 XMI file (
*.xmi and *.uml).
- XML Schema: converts an XML schema to a metamodel (
*.xsd or *.wsdl).
Click Next.
- Type the file which contains the metamodel data to read and click Next.

- Type the required metamodel information and click Finish.

MDWorkbench analysizes the metamodel and generates a set of Java classes that defines the contents of the metamodel.