[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.omelet] Questions about the modelContentRegistration extension point
|
Hi Ed
There go a few questions, or I'd better say there goes the first chapter of
questions ;)
If you are working in updated docs then I'd rather wait until you finish
those. So:
1. What is the use of the model element?
The documentation for the extension point says " Definition of a model
comprising data, or of a meta-model." so the meaning is straightforward.
However I cannot find any contribution of this kind to the extension point
across the set of plugins of Omelet. So what is the role of metamodels in
Omelet?
I find it intriguing because I want to define a conversion/transformation
that takes:
- an input ecore:param1
- an input ecore:param2
- an input mytransformationmodel:script
- an output ecore:result
And I would like to enforce the type of the script input element, i.e. I
want to make sure it is an instance of my metamodel for transformations
(this metamodel is defined by my tool). Would this be the right way to do
it?
2. What is the meaning of the symbol '%' in the model expression
mini-language?
It seems to be used with the same or similar meaning as '#' for variables,
but in my version of the technical Overview document there is no mention of
this symbol.
See the extension "omelet.conversions.DOM_XMLOutputStream" in the
org.eclipse.omelet.eclipse plugin, modelContentRegistration extension point.
for an example of use of the symbol.