|Re: Load EMF instance model from xmi file and traverse it [message #1475413 is a reply to message #1474701]
||Sun, 16 November 2014 07:37
| Ed Merks
Registered: July 2009
On 15/11/2014 6:15 PM, furkan tanrıverdi wrote:
> I know generating genmodel and model, editor and other plugins.
So you know how to load and save instances, but you show code that's
trying to read using DOM. Why is that?
> What I want to know is can I make inferences from an instance model.
Yes, of course. EObject.eClass will return the object's EClass.
Resource.getAllContents returns an iterator that walks all instances in
> I am trying get EClasses, EAttributes from instance.
> Those codes just a different try. I hope I could explain myself
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.01926 seconds