Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » when to use GMF?
when to use GMF? [message #18334] Tue, 15 August 2006 10:26 Go to next message
Eclipse UserFriend
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 #20847 is a reply to message #18334] Wed, 16 August 2006 15:28 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Sebastian,

When a user has completed the diagram, what does a user do with it?

The answer to this question may help you decide to use GMF:

GMF Runtime includes support for:

Diagram printing
Export diagram to an image file for import into another application.
Cut and paste to the system clipboard for paste into another application.

Cheers...
Anthony

"Sebastian Feese" <eclipse@sebastianfeese.de> wrote in message
news:a34832aa47671f721b30e7947ec1050f$1@www.eclipse.org...
> 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 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:Adding "underline" and "strikethrough" in appereance
Next Topic:How to disable generation of certain actions?
Goto Forum:
  


Current Time: Thu Dec 26 17:31:34 GMT 2024

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

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

Back to the top