Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF and XML
GMF and XML [message #162189] Fri, 23 November 2007 08:29 Go to next message
Eclipse UserFriend
Originally posted by: hovabul.gmail.com

Hello,

My ecore is:
Top --rel--> X

And my XML file is:
<rel/> when I click X in the diagram.

How can I use 'X' instead of 'rel'?

Thanks,
Hova Bul
Re: GMF and XML [message #162337 is a reply to message #162189] Fri, 23 November 2007 13:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------050204050301080601090501
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hova,

Call "rel" "X" instead. Using extended meta data annotations you could
specify that the XML name for "rel" is "X" without affecting the name
used in the generated APIs.

XML Schema to Ecore Mapping
< http://www.eclipse.org/modeling/emf/docs/overviews/XMLSchema ToEcoreMapping.pdf>


Hova Bul wrote:
> Hello,
>
> My ecore is:
> Top --rel--> X
>
> And my XML file is:
> <rel/> when I click X in the diagram.
>
> How can I use 'X' instead of 'rel'?
>
> Thanks,
> Hova Bul
>


--------------050204050301080601090501
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hova,<br>
<br>
Call "rel" "X" instead.
Re: GMF and XML [message #162345 is a reply to message #162337] Fri, 23 November 2007 14:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hovabul.gmail.com

Hello,

So what I actually do? Bofore or After the created XML file should I do
something. And what? (Sorry I am beginner)

Thanks,
Hova
Re: GMF and XML [message #162384 is a reply to message #162345] Fri, 23 November 2007 16:44 Go to previous message
Eclipse UserFriend
Originally posted by: ali.akar.geensys.com

hello,

you have to add annotation to your ecore metamodel

best,
Ali


Hova Bul a écrit :
> Hello,
>
> So what I actually do? Bofore or After the created XML file should I do
> something. And what? (Sorry I am beginner)
>
> Thanks,
> Hova
>
Previous Topic:Hide elements via setVisible doesn't work correctly
Next Topic:dynamic images reflecting node state
Goto Forum:
  


Current Time: Thu Apr 25 06:08:58 GMT 2024

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

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

Back to the top