when to use GMF? [message #18334] |
Tue, 15 August 2006 10:26 |
Eclipse User |
|
|
|
Originally posted by: eclipse.sebastianfeese.de
Hi guys,
I have a question about when to use GMF.
I'd like to display a bunch of nodes and connections pretty similar to UML
diagrams, but less complex. As I don't need any editing functionality GMF
seems to be overkill.
Also I've read in a presentation hold during the EclipseCon 2006 that one
shouldn't consider the GMF if one only needs static images with nodes &
connections, which is essentially what I plan to do.
So my question is what would be a better option? Is there a framework out
there which allows me to simply display a model, taking care of the layout?
Or could I somehow use parts of the GMF?
Thanks for your answers.
Sebastian.
|
|
|
|
Re: when to use GMF? [message #21907 is a reply to message #18334] |
Thu, 17 August 2006 07:21 |
Eclipse User |
|
|
|
Originally posted by: 5d5.mail.ru
Hello!
There is a number of components contributing to the diagram:
1) Draw2D - visualizes diagram
2) GEF - provides editing capability
3) GMF Runtime - extends GEF to use EMF models, provides notation model,
many reusable features for diagram editors
4) GMF Tooling - diagram editor models and generator
What you will use depends on your particular requirements: if your
diagram is "read-only" Draw2D may be just enough but if you want to edit
your domain model and have diagram view at the same time to
"synchronize" with it and it's not ok to recreate whole diagram on every
domain model modification consider generating diagram editor with GMF
and disabling editing.
Sebastian Feese wrote:
> Hi guys,
>
> I have a question about when to use GMF.
> I'd like to display a bunch of nodes and connections pretty similar to
> UML diagrams, but less complex. As I don't need any editing
> functionality GMF seems to be overkill.
>
> Also I've read in a presentation hold during the EclipseCon 2006 that
> one shouldn't consider the GMF if one only needs static images with
> nodes & connections, which is essentially what I plan to do.
>
> So my question is what would be a better option? Is there a framework
> out there which allows me to simply display a model, taking care of the
> layout?
> Or could I somehow use parts of the GMF?
>
> Thanks for your answers.
> Sebastian.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03270 seconds