Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Help on diagnosis needed
Help on diagnosis needed [message #70670] Fri, 27 October 2006 06:21 Go to next message
Eclipse UserFriend
When trying to generate the generator model I get the below "diagnosis".
Can someone help me translating/understanding this gibberish?

I have renamed an element in the .ecore. To make sure the new name gets
picked up I removed all depending projects (.edit/.editor/.tests) and
then recreated them.
I went through all .gmf files, esp. the entire tree of the .gmfmap file
and changed all references of the old name to the new name, so when
stepping through and every element of the .gmf* files and double
checking their properties there is now no mentioning of the old name any
more - nowhere! But when trying to generated the .gmfgen file I get the
below errors. Where do these "unresolved proxies" hide?

Michael

Diagnosis of
org.eclipse.gmf.mappings.impl.MappingImpl@1ce01ce{platform:/resource/leonardo2/model/leonardo2.gmfmap#/}
'Containment Feature' must reference the same class or super type of
'Domain Meta Element' of the referenced node
The feature 'domainMetaElement' of
'org.eclipse.gmf.mappings.impl.NodeMappingImpl@af20af2 {platform:/resource/leonardo2/model/leonardo2.gmfmap#//@node s.1/@ownedChild}'
contains an unresolved proxy
'org.eclipse.emf.ecore.impl.EClassImpl@b5e0b5e {platform:/resource/leonardo2/model/leonardo2.ecore#//Artifa ctsType}'
The feature 'diagramLabel' of
'org.eclipse.gmf.mappings.impl.LabelMappingImpl@bcc0bcc {platform:/resource/leonardo2/model/leonardo2.gmfmap#//@node s.1/@ownedChild/@labelMappings.0}'
contains an unresolved proxy
'org.eclipse.gmf.gmfgraph.impl.DiagramLabelImpl@c2e0c2e {platform:/resource/leonardo2/model/leonardo2.gmfgraph#Artif actsTypeName}'
The feature 'features' of
'org.eclipse.gmf.mappings.impl.LabelMappingImpl@bcc0bcc {platform:/resource/leonardo2/model/leonardo2.gmfmap#//@node s.1/@ownedChild/@labelMappings.0}'
contains an unresolved proxy
'org.eclipse.emf.ecore.impl.EAttributeImpl@ccc0ccc {platform:/resource/leonardo2/model/leonardo2.ecore#//Artifa ctsType/name}'
Label attributes must be available in 'Domain Element' EClass of the
labeled mapping entry
No more help on diagnosis needed - and an apology.. [message #70699 is a reply to message #70670] Fri, 27 October 2006 07:22 Go to previous message
Eclipse UserFriend
Never mind - I found the reason. There were a few entries in the .ecore
and the .genmodel file that hadn't been properly updated. I was only
able to locate these locations by textually searching for the old names
in the .ecore and .genmodel XML files, so note to self: never rename
anything in the .ecore editor - go directly to the XML file and do a
textual replace there!

And please, everybody, accept my apology for calling the error msg.
"gibberish" - I didn't mean to insult anyone. I only found these
messages - well - non exactly self explaining and used sloppy language
to express that. But by the time my app will finally work I'll be able
to fluently parse XPath, I promise. ;-)

Michael
Previous Topic:Creating Toolbar and Popup menu
Next Topic:Connections with Label.
Goto Forum:
  


Current Time: Fri Jun 06 21:52:49 EDT 2025

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

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

Back to the top