Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » combined GMF Editors
combined GMF Editors [message #1066240] Mon, 01 July 2013 16:30 Go to next message
Phil H is currently offline Phil HFriend
Messages: 267
Registered: November 2012
Senior Member
Hi,

I'm stucking at the moment at problem where I'm not sure what is the best solution. First I want to give an image overview, which is an simplified meta model:

index.php/fa/15437/0/

I already realised an GMF editor for the orange parts, which works so far. Now I would like to create a secong GMF editor for the green part. But as you can see in the image, there are some boundary points of both editors.

Is there a graceful way of combining both editors based on the same metamodel. Any examples maybe?
  • Attachment: gmf.JPG
    (Size: 35.94KB, Downloaded 342 times)
Re: combined GMF Editors [message #1066381 is a reply to message #1066240] Tue, 02 July 2013 11:51 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

does this help you? http://wiki.eclipse.org/Graphical_Modeling_Framework/Tips#Sharing_single_EditingDomain_instance_across_several_diagrams it allows to open a diagram in two editors at once. There is also a feature in gmf which allows model elements to link to other diagrams. What is your exact scenario?

Ralph
Re: combined GMF Editors [message #1066403 is a reply to message #1066381] Tue, 02 July 2013 12:59 Go to previous messageGo to next message
Phil H is currently offline Phil HFriend
Messages: 267
Registered: November 2012
Senior Member
Thx for this suggestion Ralph, it might help..

But at the moment I'm not sure how to realize one metamodel for two gmf editors, where each editor realize a part of the metamodel. Have I to create two gmf projects then? And wehre to store the metamodel?
Re: combined GMF Editors [message #1066909 is a reply to message #1066403] Fri, 05 July 2013 06:35 Go to previous message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 354
Registered: July 2009
Senior Member
You need to create a separate gmf project for each editor.
The metamodel is placed within another dedicated project.

HTH
Axel

Phil H wrote:

> Thx for this suggestion Ralph, it might help..
>
> But at the moment I'm not sure how to realize one metamodel for two gmf
> editors, where each editor realize a part of the metamodel. Have I to
> create two gmf projects then? And wehre to store the metamodel?
Previous Topic:Defining a maximun size for a node
Next Topic:Changing Palette ToolGroups dynamically in GMF editor
Goto Forum:
  


Current Time: Fri Mar 29 15:19:21 GMT 2024

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

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

Back to the top