Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » EMF or GEF?
EMF or GEF? [message #53260] Thu, 09 January 2003 23:54 Go to next message
Eclipse UserFriend
Originally posted by: s_nedunuri.yahoo.com

Hello, I originally posted this question in eclipse.tools but someone
suggested it might be better posted here. So here goes

Quite simply, I am investigating the possibility of building a rudimentary
plug-in for
modeling using UML Activity Diagrams (that is editing the diagrams and
carrying out code generation). I have looked at both GEF and EMF and their
capabilities but I am still not sure which I need.

The EMF description on the home page seems to imply that EMF, EMF.Edit and
EMF.Codegen are together sufficient. (Tangential question: Is the EclipseUML
plugin from Omondo
then an *example* of a plugin for editing UML Class Diagrams?)

However, the GEF
overview says that "GEF is suitable for creating a wide variety of
applications, including: flow builders, GUI builders, UML diagram editors
(such as work-flow and class modeling diagrams)"

So my question is: Does EMF alone provide what I need or do I also need GEF?
Re: EMF or GEF? [message #53316 is a reply to message #53260] Fri, 10 January 2003 02:11 Go to previous messageGo to next message
Frank Budinsky is currently offline Frank BudinskyFriend
Messages: 478
Registered: July 2009
Senior Member
For this kind of tool you would benefit from both EMF and GEF. You can use
EMF/EMF.Edit to implement your model and outline view. You can also use the EMF
codegen framework to build your generator. GEF can be used to implement the
diagrams. Omondo's EclipseUML is an example. It's implemented using both EMF
and GEF.

Frank.


s_nedunuri@yahoo.com wrote:

> Hello, I originally posted this question in eclipse.tools but someone
> suggested it might be better posted here. So here goes
>
> Quite simply, I am investigating the possibility of building a rudimentary
> plug-in for
> modeling using UML Activity Diagrams (that is editing the diagrams and
> carrying out code generation). I have looked at both GEF and EMF and their
> capabilities but I am still not sure which I need.
>
> The EMF description on the home page seems to imply that EMF, EMF.Edit and
> EMF.Codegen are together sufficient. (Tangential question: Is the EclipseUML
> plugin from Omondo
> then an *example* of a plugin for editing UML Class Diagrams?)
>
> However, the GEF
> overview says that "GEF is suitable for creating a wide variety of
> applications, including: flow builders, GUI builders, UML diagram editors
> (such as work-flow and class modeling diagrams)"
>
> So my question is: Does EMF alone provide what I need or do I also need GEF?
Re: EMF or GEF? [message #56542 is a reply to message #53316] Mon, 20 January 2003 16:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: oro7d3.netscape.net

You mention "You can also use the EMF codegen framework to build your
generator" , what if i want to add/modify an existing Java file in a Java
project(e.g. add/change a new attribute/method/innerclass) . Should i use
JDT's AST or EMF codegen framework?


"Frank Budinsky" <frankb@ca.ibm.com> wrote in message
news:3E1E2BBE.247D1A08@ca.ibm.com...
> For this kind of tool you would benefit from both EMF and GEF. You can use
> EMF/EMF.Edit to implement your model and outline view. You can also use
the EMF
> codegen framework to build your generator. GEF can be used to implement
the
> diagrams. Omondo's EclipseUML is an example. It's implemented using both
EMF
> and GEF.
>
> Frank.
>
>
> s_nedunuri@yahoo.com wrote:
>
> > Hello, I originally posted this question in eclipse.tools but someone
> > suggested it might be better posted here. So here goes
> >
> > Quite simply, I am investigating the possibility of building a
rudimentary
> > plug-in for
> > modeling using UML Activity Diagrams (that is editing the diagrams and
> > carrying out code generation). I have looked at both GEF and EMF and
their
> > capabilities but I am still not sure which I need.
> >
> > The EMF description on the home page seems to imply that EMF, EMF.Edit
and
> > EMF.Codegen are together sufficient. (Tangential question: Is the
EclipseUML
> > plugin from Omondo
> > then an *example* of a plugin for editing UML Class Diagrams?)
> >
> > However, the GEF
> > overview says that "GEF is suitable for creating a wide variety of
> > applications, including: flow builders, GUI builders, UML diagram
editors
> > (such as work-flow and class modeling diagrams)"
> >
> > So my question is: Does EMF alone provide what I need or do I also need
GEF?
>
Re: EMF or GEF? [message #56778 is a reply to message #56542] Mon, 20 January 2003 22:14 Go to previous message
Frank Budinsky is currently offline Frank BudinskyFriend
Messages: 478
Registered: July 2009
Senior Member
Oro,

If you want to add relatively complicated patterns and merge them into existing
code, then the EMF codegen framework could be helpful. If your additions are
simple, however, you're probably better off to just use JDT. If you want to
change existing methods in the class (that weren't generated by the EMF
generator), you can only do that using JDT.

Frank.


oro wrote:

> You mention "You can also use the EMF codegen framework to build your
> generator" , what if i want to add/modify an existing Java file in a Java
> project(e.g. add/change a new attribute/method/innerclass) . Should i use
> JDT's AST or EMF codegen framework?
>
> "Frank Budinsky" <frankb@ca.ibm.com> wrote in message
> news:3E1E2BBE.247D1A08@ca.ibm.com...
> > For this kind of tool you would benefit from both EMF and GEF. You can use
> > EMF/EMF.Edit to implement your model and outline view. You can also use
> the EMF
> > codegen framework to build your generator. GEF can be used to implement
> the
> > diagrams. Omondo's EclipseUML is an example. It's implemented using both
> EMF
> > and GEF.
> >
> > Frank.
> >
> >
> > s_nedunuri@yahoo.com wrote:
> >
> > > Hello, I originally posted this question in eclipse.tools but someone
> > > suggested it might be better posted here. So here goes
> > >
> > > Quite simply, I am investigating the possibility of building a
> rudimentary
> > > plug-in for
> > > modeling using UML Activity Diagrams (that is editing the diagrams and
> > > carrying out code generation). I have looked at both GEF and EMF and
> their
> > > capabilities but I am still not sure which I need.
> > >
> > > The EMF description on the home page seems to imply that EMF, EMF.Edit
> and
> > > EMF.Codegen are together sufficient. (Tangential question: Is the
> EclipseUML
> > > plugin from Omondo
> > > then an *example* of a plugin for editing UML Class Diagrams?)
> > >
> > > However, the GEF
> > > overview says that "GEF is suitable for creating a wide variety of
> > > applications, including: flow builders, GUI builders, UML diagram
> editors
> > > (such as work-flow and class modeling diagrams)"
> > >
> > > So my question is: Does EMF alone provide what I need or do I also need
> GEF?
> >
Previous Topic:Font Style in draw2D label
Next Topic:Property change
Goto Forum:
  


Current Time: Sat Oct 19 10:58:53 GMT 2024

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

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

Back to the top