MDWorkbench Metamodel Provider

Identifier:
com.sodius.mdw.core.metamodel

Since:
MDWorkbench 3.0.0

Description:
Enables to define a metamodel.

Configuration Markup:

<!ELEMENT extension (metamodel* , metamodelExtension*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT metamodel (provider , modelReader* , modelWriter* , resourceSetReader*)>

<!ATTLIST metamodel

id               CDATA #REQUIRED

name             CDATA #REQUIRED

version          CDATA #IMPLIED

presentationName CDATA #REQUIRED>


<!ELEMENT provider (property* , epackage+ , profileProvider?)>

<!ATTLIST provider

class CDATA #REQUIRED>

a provider in charge to load the metamodel.



<!ELEMENT property EMPTY>

<!ATTLIST property

name  CDATA #REQUIRED

value CDATA #REQUIRED>

a key/value pair, that can be used to customize a model reader/writer.



<!ELEMENT modelReader (property* , fileExtension*)>

<!ATTLIST modelReader

name    CDATA #REQUIRED

uriType (file|directory|unspecified|noURI)

class   CDATA #IMPLIED>

a model reader, used to load model contents form a specific location.



<!ELEMENT modelWriter (property* , fileExtension*)>

<!ATTLIST modelWriter

name    CDATA #REQUIRED

uriType (file|directory|unspecified|noURI)

class   CDATA #IMPLIED>

a model writer, used to store model contents into a specific location.



<!ELEMENT resourceSetReader (property* , fileExtension*)>

<!ATTLIST resourceSetReader

name    CDATA #REQUIRED

uriType (file|directory|unspecified|noURI)

class   CDATA #IMPLIED>

a resource set reader, used to load resource set contents form a specific location.



<!ELEMENT fileExtension EMPTY>

<!ATTLIST fileExtension

description CDATA #REQUIRED

extension   CDATA #REQUIRED

default     (true | false) >

a file extension handled by the connector it is attached to.



<!ELEMENT metamodelExtension (provider)>

<!ATTLIST metamodelExtension

id                 CDATA #REQUIRED

name               CDATA #REQUIRED

metamodel          CDATA #REQUIRED

requiredExtensions CDATA #IMPLIED>

a metamodel extension, used to dynamically add features to existing types.



<!ELEMENT epackage EMPTY>

<!ATTLIST epackage

class CDATA #REQUIRED>

the EPackage respresenting the related metamodel.



<!ELEMENT profileProvider EMPTY>

<!ATTLIST profileProvider

class CDATA #REQUIRED>

a profile provider is used to manage the instantiation of MDWorkbench Profile mechanism to a particular metamodel.




SODIUS