MDWorkbench Project
An MDWorkbench project is a Java project that contains source code and related files for building an MDWorkbench generator or transformator.
It has an associated builder that can incrementally compile source files as they are changed.
An MDWorkbench project contains Java packages, in which you can define:
- Text generation elements (implemented using TGL):
- Text template:
specifies the information to generate in a given file as well as the name of the file.
- Macro:
specifies an isolated text template fragment defined for repetitive tasks.
- Library:
specifies a group of reusable macros.
- Transformation elements (implemented using MQL):
- Ruleset:
specifies a group of rules.
- Rule:
specifies a set of procedural expressions to query/update model elements.
- Script elements:
- Script:
specifies a method dynamically added to a metatype.
- Profile:
specifies a set of metatypes dynamically added to a metamodel.
- Java source files.
Text templates and rules can be combined transparently to allow intuitive and efficient model processing.
Common functionality can be encapsulated in metatypes using scripts.
Complex operations can be realized using Java types and methods.