Model element is the root class for all other model classes.
It has path
attribute which is used to compute model element’s uri
and also model element’s URL in the UI.
It also has documentation
containment reference. One way to document model elements is to use Markdown as shown in in below example:
engineering-module:
name: EMF
path: emf
documentation:
content-markdown:
style: true
source:
content-resource: readme.md
You can also use Interpolator to interpolate tokens and to process includes. E.g.
engineering-module:
name: EMF
path: emf
action-prototype: "../javadoc-action-prototype.xml#/"
documentation:
content-interpolator:
source:
content-markdown:
style: true
source:
content-resource: readme.md
Element path is typically used as a key (EKey) in a containing collection.
Type | EString |
---|---|
Cardinality | 1 |
Changeable | true |
Derived | false |
Map entries
Type | Property |
---|---|
Cardinality | 0..* |
Changeable | true |
Derived | false |
Key | name |
Element documentation, e.g. Markdown documentation.
Type | EObject |
---|---|
Cardinality | 0..* |
Changeable | true |
Derived | false |
Pluggable representations of a model element, e.g. a component diagram for modules.
Type | Representation |
---|---|
Cardinality | 0..* |
Changeable | true |
Derived | false |
Resources associated with the element, e.g. documentation.
Type | NamedElement |
---|---|
Cardinality | 0..* |
Changeable | true |
Derived | false |
Key | path |
Sections for model element documentation.
Type | Document |
---|---|
Cardinality | 0..* |
Changeable | true |
Derived | false |
Key | path |
Table of contents configuration.
Type | TableOfContents |
---|---|
Cardinality | 0..1 |
Changeable | true |
Derived | false |