Skip to main content



      Home
Home » Modeling » EMF » ECore Editor not displaying as model tree
ECore Editor not displaying as model tree [message #425966] Sun, 14 December 2008 10:52 Go to next message
Eclipse UserFriend
Hi,

I am using the M2M project to generate an instance of an Ecore model. When
I go to open the model I get a strange editor, which displays the object
ids rather than the normal tree.

For example one item in the list will is:
org.eclipse.emf.ecore.impl.DynamicEObjectImpl@f9545e(eClass
org.eclipse.emf.ecore.impl.DynamicEObjectImpl@a48e64(name: rootNode)
(instanceClassName: null) (abstract:false, interface:false))

Does anyone know what is wrong here - how do I get the normal tree based
editor back???

Thanks for your help,
Mark
Re: ECore Editor not displaying as model tree [message #425967 is a reply to message #425966] Sun, 14 December 2008 11:52 Go to previous message
Eclipse UserFriend
Mark,

Comments below.

Mark Melia wrote:
> Hi,
>
> I am using the M2M project to generate an instance of an Ecore model.
> When I go to open the model I get a strange editor, which displays the
> object ids rather than the normal tree.
Can you tell how the instance you generated is different from the one
the editor would normally create? There must be some difference...
> For example one item in the list will is:
> org.eclipse.emf.ecore.impl.DynamicEObjectImpl@f9545e(eClass
> org.eclipse.emf.ecore.impl.DynamicEObjectImpl@a48e64(name: rootNode)
> (instanceClassName: null) (abstract:false, interface:false))
Sounds like something you'd get if your generated model wasn't use to
load the instance.
>
> Does anyone know what is wrong here - how do I get the normal tree
> based editor back???
I can only guess from the little bit of information you've given that
the namespace of the document you are loading isn't the same as the
namespace of your generated model...
>
> Thanks for your help,
> Mark
>
Previous Topic:[CDO] Proxies / Lazy Loading
Next Topic:Auto-create node's children
Goto Forum:
  


Current Time: Sat Nov 08 05:43:59 EST 2025

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

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

Back to the top