Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Best way to handle multiple emf models when generating gmf editors?
Best way to handle multiple emf models when generating gmf editors? [message #225498] Fri, 10 April 2009 16:28 Go to next message
Bill HingeFriend
Messages: 156
Registered: July 2009
Senior Member
Hi

I'm working on a project in which we split a large emf model into
smaller ecore files so as to be easier to configuration manage in
sourceforge and edit separately. We are also loading uml and emf models
for data types etc.

When it comes to creating gmf editors I'm looking for an idea of what
is considered best practice.

Should I somehow merge the individual emf models into a monolithic gmf
editor, OR should I perhaps have a series of gmf editors linked by a
wizard (each editor corresponding to the individual emf models).

If the monolithic editor is possible, could someone suggest a reference
or at least what magic words I need to google for ;-)

(Previously I had a single DSL which grew quite large and not quite
so Domain Specific as things were added, then I just generated a single
GMF editor in the normal way)

thanks
Steve
Re: Best way to handle multiple emf models when generating gmf editors? [message #225597 is a reply to message #225498] Mon, 13 April 2009 11:23 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Bill,

> Should I somehow merge the individual emf models into a monolithic gmf
> editor, OR should I perhaps have a series of gmf editors linked by a
> wizard (each editor corresponding to the individual emf models).
You have to choose between single and several GMF editors based on your requirements
– it is possible to implement each of suggested solutions.

> If the monolithic editor is possible, could someone suggest a
> reference or at least what magic words I need to google for ;-)
If you decide to create single diagram editor then just describe it in single
..gmfmap file and generate corresponding code. You can possible face some
problems with the containment references – sometimes you can wish to store
some particular diagram node in a separate resource (not the one used for
parent node/diagram itself). In this case you have to patch generated code,
but it’s not so hard, so I’m suggesting you start with implementation and
ask additional questions later.

-----------------
Alex Shatalin
Previous Topic:About Validation framework of GMF
Next Topic:Attribute types
Goto Forum:
  


Current Time: Thu Apr 25 04:53:39 GMT 2024

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

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

Back to the top