Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » ExtendedMetaData problem with 'Same File For Diagram And Model'
ExtendedMetaData problem with 'Same File For Diagram And Model' [message #173500] Thu, 21 February 2008 23:10 Go to next message
Eclipse UserFriend
Originally posted by: asimullah.gmail.com

I'm using GMF2.0 and have an editor producing domain and notation files
with
the expected xml.

My ecore model has a root node with an ExtendedMetaData that modifies the
outputted xml to produce a dash separated tag,
i.e "kind->element" and "name->my-root".

When "Same File For Diagram And Model" equals false in the gmfgen file,
everything is fine. The domain file has the expected 'my-root' tag.

When "Same File For Diagram And Model" equals true the generated
single merged xml file contains a domain fragment that no longer
conforms to the ExtendedMetaData directive and is camel-cased (ie MyRoot).

It is as if the ExtendedMetaData is ignored.
Is this a bug?
Re: ExtendedMetaData problem with 'Same File For Diagram And Model' [message #173556 is a reply to message #173500] Fri, 22 February 2008 09:42 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Liam,

I think it's not possible to support arbitraty ExtendedMetaData then "same
file for..." option is on. AFAIK ExtendedMetaData is a way to make your file
conforming to some XML schema, but there is no place for diagram information
in this schema most likely..
In any case you should be able to modify this behaviour by changing resource
factory for diagram resource.

-----------------
Alex Shatalin
Previous Topic:How to generate diagram editor from an Ecore containing subpackages
Next Topic:executing a command while editing a property from the properties view
Goto Forum:
  


Current Time: Fri Apr 26 10:54:35 GMT 2024

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

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

Back to the top