Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Ecore Model(Get the root element of ecore model)
Ecore Model [message #638125] Wed, 10 November 2010 03:22 Go to next message
vaibhav  is currently offline vaibhav Friend
Messages: 22
Registered: September 2010
Junior Member
Hi,

Can anyone tell me the the java code for getting the root element of Ecore model?

Thanks in advance,

Best Regards,
Vaibhav
Re: Ecore Model [message #638184 is a reply to message #638125] Wed, 10 November 2010 09:56 Go to previous message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
I guess:

EcoreUtil.getRootContainer(eObject);

On 10.11.10 04:22, vaibhav wrote:
> Hi,
>
> Can anyone tell me the the java code for getting the root element of
> Ecore model?
>
> Thanks in advance,
>
> Best Regards,
> Vaibhav
Previous Topic:[CDO] No passive update mode and CDO change subscription policy
Next Topic:Serialization problem concerning Maps
Goto Forum:
  


Current Time: Thu Apr 25 01:09:54 GMT 2024

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

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

Back to the top