Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Loading an instanciated model via EGL loadModel
Loading an instanciated model via EGL loadModel [message #571591] Wed, 29 July 2009 16:21
Darren  is currently offline Darren Friend
Messages: 40
Registered: September 2009
Hello All,

Knowing that Dimitris is away I was wondering if anyone else is able to
spot what I must be doing wrong.

I'm trying to opertate on an instanciated model (*.model) via EGL in a
TOMCAT environment (see

I can load and query/traverse the metamodel in the examples and with my
own metamodels. My understanding of the Model Manager functions is that I
would do something like:

modelManager.loadModel('AnyName','myModel.model','aPackageUR I');

Where aPackageURI is the name of a package URI within the myMeta.ecore.

I assume I should then be able to access the EClasses by their name i.e.


However I get an error of "Undefined variable, type or model:"

I have also trying using the AnyName as well to no success.

I am assuming that this is loading the model as if I do a EObject.all() I
can see the elements I'm trying to access. They do not exist under
anything other than EObject and I'm currently stumped as to how to get the
root class to start traversing the data. Any pointers/help is much

Previous Topic:Operation, asInteger() and EOLInteger constructor
Next Topic:Loading an instanciated model via EGL loadModel
Goto Forum:

Current Time: Fri Jun 22 07:56:08 GMT 2018

Powered by FUDForum. Page generated in 0.01607 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top