Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » ECore Editor not displaying as model tree
ECore Editor not displaying as model tree [message #425966] Sun, 14 December 2008 15:52 Go to next message
Mark Melia is currently offline Mark MeliaFriend
Messages: 142
Registered: July 2009
Senior Member
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 16:52 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30916
Registered: July 2009
Senior Member
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 Feb 29 04:58:02 GMT 2020

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

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

Back to the top