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
Member
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
http://code.google.com/p/epsilonlabs/wiki/EGLinTomcat)

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.registerMetaModel('myMeta.ecore');
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.

myClass.all();

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
appreciated.

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


Current Time: Thu Apr 25 11:44:36 GMT 2024

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

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

Back to the top