Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF Editor (How to access programmatically a GMF Diagram by reading its XML/XMI?)
GMF Editor [message #1789911] Thu, 31 May 2018 17:36 Go to next message
PM PC is currently offline PM PCFriend
Messages: 12
Registered: May 2018
Junior Member
Salut GMF Community,

I know that it is possible to open a GMF Diagram with a text editor and observe its corresponding XMI file.

What I'm trying to do is to access that XMI file programmatically (without having to duplicate the Diagram file and editing one of them to be a text editor).

Has anyone did this already and can give me some hints on how to do it?

Thanks in advance,
pmpc
Re: GMF Editor [message #1790005 is a reply to message #1789911] Sat, 02 June 2018 14:51 Go to previous messageGo to next message
PM PC is currently offline PM PCFriend
Messages: 12
Registered: May 2018
Junior Member
(I already figured it out)
Re: GMF Editor [message #1795766 is a reply to message #1790005] Fri, 28 September 2018 08:17 Go to previous messageGo to next message
remy kif is currently offline remy kifFriend
Messages: 2
Registered: September 2018
Junior Member
Please, can you tell us how you did it ?
Re: GMF Editor [message #1796149 is a reply to message #1795766] Sat, 06 October 2018 10:56 Go to previous message
PM PC is currently offline PM PCFriend
Messages: 12
Registered: May 2018
Junior Member
I used XPath to construct an expression that evaluates the XMI nodes.
Previous Topic:GMF2 File Format
Next Topic:Customizing GMF Diagram + Palette
Goto Forum:
  


Current Time: Fri Mar 29 09:35:52 GMT 2024

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

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

Back to the top