CONTENTS DELETED
The author has deleted this message.
|
Yes, the example below does the job. Basically you should import your model using the MooseImportingContext. In the example below, we are loading invocation and its dependents (ie., classes, packages).
Have a look in the class MooseImportingContext.
========== | filter mseStream mseFileName model | mseFileName := '/Users/hora/Desktop/19614-AboutBox.java.mse'.
mseStream := StandardFileStream readOnlyFileNamed: mseFileName. "includes just invocation and its dependents" filter := MooseImportingContext new importMethod. model := MooseModel new.
model importFromMSEStream: mseStream filteredBy: filter. model install. ========== On Mon, Aug 26, 2013 at 7:43 PM, Juraj Kubelka <[hidden email]> wrote: Hi! Andre Hora _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Thanks Andre for the quick reply. This reminded me that we should still cleanup MooseImportingContext to use as internal model directly the meta elements instead of symbols that are afterwards translated.
Doru On Mon, Aug 26, 2013 at 7:56 PM, Andre Hora <[hidden email]> wrote:
"Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Andre Hora
CONTENTS DELETED
The author has deleted this message.
|
In reply to this post by Tudor Girba-2
Doru can open an issue?
Stef
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |