Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » Creating an "instance editor" ontop of ECore-model
icon5.gif  Creating an "instance editor" ontop of ECore-model [message #1706633] Fri, 28 August 2015 09:51 Go to next message
Linus Barth is currently offline Linus BarthFriend
Messages: 1
Registered: August 2015
Junior Member
Hello,
I have been told to create an editor for an ecore instance. What I have for that is the model-generated code (YML-described model -> generated Ecore-Model -> generated .genmodel -> generated java-code). The root class (or model) is a seamap with children that have coordinates (e.g. buoys). The seamap-instance is already generated and filled up with children. It is then serialized in a xml-file. But now what my employer wants is an editor that can visualize this seamap in an viewer (custom eclipse-plugin) and modify the children (that are visualized with some sort of shape) by dragging them or having a property window.

I do not have a clue where or with what libraries to start. I do not even know if it has much to do with ecore/emf anymore. Any kind of help is much appreciated. Thank you.
Re: Creating an "instance editor" ontop of ECore-model [message #1732551 is a reply to message #1706633] Wed, 18 May 2016 08:10 Go to previous messageGo to next message
Cedric Brun is currently offline Cedric BrunFriend
Messages: 431
Registered: July 2009
Senior Member
Hi,
I'm not sure if you want to build an "tree like" editor or a "graphical/diagram" editor. Right-clicking on the genmodel and selecting "Generate Editor" will generate a tree-like editor.
If you want to define a graphical/diagram editor, checkout Sirius https://www.eclipse.org/sirius/getstarted.html


http://cedric.brun.io news and articles on eclipse and eclipse modeling.
Re: Creating an "instance editor" ontop of ECore-model [message #1742285 is a reply to message #1732551] Thu, 01 September 2016 12:41 Go to previous message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi Linus,

you could also use GMF (https://www.eclipse.org/gmf-tooling/) , Eugenia (https://www.eclipse.org/epsilon/doc/eugenia/) or Spray (https://code.google.com/archive/a/eclipselabs.org/p/spray) to create such an editor.

Ralph
Previous Topic:[Texo] Install texo in eclipse neon fails - org.json not found
Next Topic:Illegal argument exception for "Name" property
Goto Forum:
  


Current Time: Thu Apr 18 23:09:44 GMT 2024

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

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

Back to the top