EMF or GEF? [message #53260] |
Thu, 09 January 2003 18:54  |
Eclipse User |
|
|
|
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 #56778 is a reply to message #56542] |
Mon, 20 January 2003 17:14  |
Eclipse User |
|
|
|
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?
> >
|
|
|
Powered by
FUDForum. Page generated in 0.07576 seconds