okay, I understand. There is BasicCodeGenerator withAllSubclasses in
MetaDevelopment somewhere, on its class side is an example method
that demonstrates its use. It uses the refactoring browser to create
code. Another example you should find when loading Martin's
PythonDevelopment. He used code generation to generate classes for a
python AST. As it is, there is not yet a BasicCodeGenerator subclass
that generates full Moose entities, but should be easy to do, as this
is just a matter of the class "template".
On 4 May 2007, at 16:20 , sellossa(a)ensieta.fr wrote:
This is not exactly what I wanted but I recognize that my question
So, we ‘ve implemented an Importer and we manage to get EMOF
an ECORE file. But now, we want to load it in Moose. Previously,
about code generation. Could I have more details about it, please ?
> maybe the best way to learn about that is to start at the import menu
> item. Alas I can not tell you the method name now, as I do not have a
> VW at hand, but if you search for the menu item string you should
> find it. Then put self halt there and follow it stepwise in the
> debugger, and you learn all the import.
> On 3 May 2007, at 14:23 , sellossa(a)ensieta.fr wrote:
>> I 've worked on the Importer class and I 've understood how you
>> create a
>> model from MSE specifications (I had a look on the method called
>> But now, I want to know how you manage to load this model in
>> Moose. I
>> didn't find the class and the method that do this.
>> Thank you for your help,
>> Moose-dev mailing list
Moose-dev mailing list