Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » combined GMF Editors
combined GMF Editors [message #1066240] Mon, 01 July 2013 12:30 Go to next message
Eclipse UserFriend
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 386 times)
Re: combined GMF Editors [message #1066381 is a reply to message #1066240] Tue, 02 July 2013 07:51 Go to previous messageGo to next message
Eclipse UserFriend
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 08:59 Go to previous messageGo to next message
Eclipse UserFriend
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 02:35 Go to previous message
Eclipse UserFriend
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: Wed Jul 02 23:54:14 EDT 2025

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

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

Back to the top