Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » What is GEF
What is GEF [message #161751] Thu, 16 December 2004 14:36 Go to next message
Eclipse UserFriend
Originally posted by: carvalho_ruben.yahoo.co.uk

Hello everybody,

I am totally lost and I would like to ask for some help here. I have been
a J2EE developer for a while and now I am back to my favourite part of
being a software developer.

I have to develop a quite complicated desktop application, I mean with
many different types of graphical controls. I will have to include
graphical plotting of sets of data (file input), lots of listeners to
handle several events like showing/hiding file information in a different
part of my "shell" or in a new window, trees, tabs, ...

I have started with SWT and I realized that I'll use it for sure. The
problem starts when one wants to find easier ways to create all this mess.
That's how I got to GEF. It looks like a really powerful tool but I am too
confused right now.

Is it a framework "only" for developing viewers (and all the other types
of displaying information on screen)? I mean, would you use it to create a
simple browser (SWT has support for this already)? Or do you use it for
stronger applications where you have interaction with the end-user, like a
UML to code application?

For example, my application should support zoom on the plotting area.
Should I use GEF for this?

Does GEF have any visual editor?

Please guys, I am totally confused as you can see from this post and I
would really appreciate some help here. Can you give me some advice on
where to start? I have looked everywhere in eclipse.org. Do you know any
other sources of information?

Thank you very much.
Ruben Carvalho
Re: What is GEF [message #161760 is a reply to message #161751] Thu, 16 December 2004 14:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

Ruben Carvalho wrote:
> Hello everybody,
>
> I am totally lost and I would like to ask for some help here. I have
> been a J2EE developer for a while and now I am back to my favourite part
> of being a software developer.
>
> I have to develop a quite complicated desktop application, I mean with
> many different types of graphical controls. I will have to include
> graphical plotting of sets of data (file input), lots of listeners to
> handle several events like showing/hiding file information in a
> different part of my "shell" or in a new window, trees, tabs, ...
>
> I have started with SWT and I realized that I'll use it for sure. The
> problem starts when one wants to find easier ways to create all this
> mess. That's how I got to GEF. It looks like a really powerful tool but
> I am too confused right now.
>
> Is it a framework "only" for developing viewers (and all the other types
> of displaying information on screen)? I mean, would you use it to create
> a simple browser (SWT has support for this already)? Or do you use it
> for stronger applications where you have interaction with the end-user,
> like a UML to code application?
>
> For example, my application should support zoom on the plotting area.
> Should I use GEF for this?
>
> Does GEF have any visual editor?
>
> Please guys, I am totally confused as you can see from this post and I
> would really appreciate some help here. Can you give me some advice on
> where to start? I have looked everywhere in eclipse.org. Do you know any
> other sources of information?
>
> Thank you very much.
> Ruben Carvalho
>

GEF stands for Graphical Editor Framework. It provides a framework for
representing things in a graphical fashion that you intend to allow the
editing of. Primarily CAD type programs where you want to represent
things with graphics. Also programs like VISIO, and perhaps powerpoint
to a lesser degree.

But not programs like web browsers or word processors, or checkers/chess.


So far from what you have said, I would use SWT, but not GEF. You have
not mentioned any desire to allow any editing of graphical
representations of things.





--
Respectfully,


CL Gilbert

"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber."

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D

For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
Re: What is GEF [message #161786 is a reply to message #161760] Thu, 16 December 2004 17:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: carvalho_ruben.yahoo.co.uk

Thanks for the explanation Gilbert.

But, what if I would want to select a bit of a graphic and rotate it to
the left or select a plot, copy and paste it and change it? Should I use
GEF in this case?

CL [dnoyeb] Gilbert wrote:

> Ruben Carvalho wrote:
>> Hello everybody,
>>
>> I am totally lost and I would like to ask for some help here. I have
>> been a J2EE developer for a while and now I am back to my favourite part
>> of being a software developer.
>>
>> I have to develop a quite complicated desktop application, I mean with
>> many different types of graphical controls. I will have to include
>> graphical plotting of sets of data (file input), lots of listeners to
>> handle several events like showing/hiding file information in a
>> different part of my "shell" or in a new window, trees, tabs, ...
>>
>> I have started with SWT and I realized that I'll use it for sure. The
>> problem starts when one wants to find easier ways to create all this
>> mess. That's how I got to GEF. It looks like a really powerful tool but
>> I am too confused right now.
>>
>> Is it a framework "only" for developing viewers (and all the other types
>> of displaying information on screen)? I mean, would you use it to create
>> a simple browser (SWT has support for this already)? Or do you use it
>> for stronger applications where you have interaction with the end-user,
>> like a UML to code application?
>>
>> For example, my application should support zoom on the plotting area.
>> Should I use GEF for this?
>>
>> Does GEF have any visual editor?
>>
>> Please guys, I am totally confused as you can see from this post and I
>> would really appreciate some help here. Can you give me some advice on
>> where to start? I have looked everywhere in eclipse.org. Do you know any
>> other sources of information?
>>
>> Thank you very much.
>> Ruben Carvalho
>>

> GEF stands for Graphical Editor Framework. It provides a framework for
> representing things in a graphical fashion that you intend to allow the
> editing of. Primarily CAD type programs where you want to represent
> things with graphics. Also programs like VISIO, and perhaps powerpoint
> to a lesser degree.

> But not programs like web browsers or word processors, or checkers/chess.


> So far from what you have said, I would use SWT, but not GEF. You have
> not mentioned any desire to allow any editing of graphical
> representations of things.
Re: What is GEF [message #161824 is a reply to message #161760] Fri, 17 December 2004 04:51 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
"CL [dnoyeb] Gilbert" <Lamont_Gilbert@rigidsoftware.com> wrote in message
news:cps7fs$jos$1@www.eclipse.org...
> Ruben Carvalho wrote:
>> Hello everybody,
>>
>> I am totally lost and I would like to ask for some help here. I have been
>> a J2EE developer for a while and now I am back to my favourite part of
>> being a software developer.
>>
>> I have to develop a quite complicated desktop application, I mean with
>> many different types of graphical controls. I will have to include
>> graphical plotting of sets of data (file input), lots of listeners to
>> handle several events like showing/hiding file information in a different
>> part of my "shell" or in a new window, trees, tabs, ...

#####
The exact interaction's not clear to me. But it seems you'd want to use
GEF. You can't really compare GEF to SWT. SWT's a GUI toolkit, whereas GEF
is a well-built, functional framework to assist with the type of project
that you have in mind.

>>
>> I have started with SWT and I realized that I'll use it for sure. The
>> problem starts when one wants to find easier ways to create all this
>> mess. That's how I got to GEF. It looks like a really powerful tool but I
>> am too confused right now.
>>
>> Is it a framework "only" for developing viewers (and all the other types
>> of displaying information on screen)? I mean, would you use it to create
>> a simple browser (SWT has support for this already)? Or do you use it for
>> stronger applications where you have interaction with the end-user, like
>> a UML to code application?
>>
>> For example, my application should support zoom on the plotting area.
>> Should I use GEF for this?
>>
>> Does GEF have any visual editor?

#####
Let me correct what I said earlier: you'll definitely want to use GEF. But,
sorry, no visual editor (yet).

>>
>> Please guys, I am totally confused as you can see from this post and I
>> would really appreciate some help here. Can you give me some advice on
>> where to start? I have looked everywhere in eclipse.org. Do you know any
>> other sources of information?

#####
Search this newsgroup and you'll find plenty of leads. Once you have a good
understanding of GEF and of what you want, start by defining your model and
then the EditParts and then tie them together in an editor.

>>
>> Thank you very much.
>> Ruben Carvalho
>>
>
> GEF stands for Graphical Editor Framework. It provides a framework for
> representing things in a graphical fashion that you intend to allow the
> editing of. Primarily CAD type programs where you want to represent
> things with graphics. Also programs like VISIO, and perhaps powerpoint to
> a lesser degree.
>
> But not programs like web browsers or word processors, or checkers/chess.

#####
I beg to differ. Why not chess or checkers? The GEF framework can support
those too. With the new text enhancements (currently in the works), word
processors, WYSIWYG editors, etc. will be fair game too. IBM's WSAD already
features a GEF-based HTML editor.

>
>
> So far from what you have said, I would use SWT, but not GEF. You have
> not mentioned any desire to allow any editing of graphical representations
> of things.
>
>
>
>
>
> --
> Respectfully,
>
>
> CL Gilbert
>
> "Verily, verily, I say unto you, He that entereth not by the door() into
> the sheepfold{}, but climbeth up some other *way, the same is a thief and
> a robber."
>
> GnuPG Key Fingerprint:
> 82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D
>
> For a free Java interface to Freechess.org see
> http://www.rigidsoftware.com/Chess/chess.html
Re: What is GEF [message #161899 is a reply to message #161786] Fri, 17 December 2004 13:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

Ruben Carvalho wrote:
>
> Thanks for the explanation Gilbert.
>
> But, what if I would want to select a bit of a graphic and rotate it to
> the left or select a plot, copy and paste it and change it? Should I use
> GEF in this case?
>


Yes, the keyword being 'change.' Since you want to change a thing
graphically, GEF is your tool. If you just wanted to represent it I
would have leaned towards swt and/or draw2d.

Otherwise you will find that while you have a gef based program, most of
your code will be manipulation of figures and other non-gef classes that
gef happens to use.




--
Respectfully,


CL Gilbert

"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber."

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D

For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
Re: What is GEF [message #162170 is a reply to message #161899] Mon, 20 December 2004 13:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: carvalho_ruben.yahoo.co.uk

Hi again,

thanks a lot Gilbert. I think I am starting to get the idea.

But still, what about zooming? Do you thing it is possible to create a
zoom option with SWT? I mean, you use the mouse to select an area in a
Canvas, for example, and that area is re-drawn inside the whole Canvas.

And what if suddenly I need to start working with GEF. Is it easy to put
GEF inside SWT?

Thanks again.

Ruben Carvalho


CL [dnoyeb] Gilbert wrote:

> Ruben Carvalho wrote:
>>
>> Thanks for the explanation Gilbert.
>>
>> But, what if I would want to select a bit of a graphic and rotate it to
>> the left or select a plot, copy and paste it and change it? Should I use
>> GEF in this case?
>>


> Yes, the keyword being 'change.' Since you want to change a thing
> graphically, GEF is your tool. If you just wanted to represent it I
> would have leaned towards swt and/or draw2d.

> Otherwise you will find that while you have a gef based program, most of
> your code will be manipulation of figures and other non-gef classes that
> gef happens to use.
Re: What is GEF [message #162179 is a reply to message #161760] Mon, 20 December 2004 13:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mazloumi.uni-mannheim.de

What would you recommend for Wordprocessing in Eclipse? I need simple
modelbased WYSIWYG-functionalities.

Thanks,
Nima



CL [dnoyeb] Gilbert wrote:
> Ruben Carvalho wrote:
>
>> Hello everybody,
>>
>> I am totally lost and I would like to ask for some help here. I have
>> been a J2EE developer for a while and now I am back to my favourite
>> part of being a software developer.
>>
>> I have to develop a quite complicated desktop application, I mean with
>> many different types of graphical controls. I will have to include
>> graphical plotting of sets of data (file input), lots of listeners to
>> handle several events like showing/hiding file information in a
>> different part of my "shell" or in a new window, trees, tabs, ...
>>
>> I have started with SWT and I realized that I'll use it for sure. The
>> problem starts when one wants to find easier ways to create all this
>> mess. That's how I got to GEF. It looks like a really powerful tool
>> but I am too confused right now.
>>
>> Is it a framework "only" for developing viewers (and all the other
>> types of displaying information on screen)? I mean, would you use it
>> to create a simple browser (SWT has support for this already)? Or do
>> you use it for stronger applications where you have interaction with
>> the end-user, like a UML to code application?
>>
>> For example, my application should support zoom on the plotting area.
>> Should I use GEF for this?
>>
>> Does GEF have any visual editor?
>>
>> Please guys, I am totally confused as you can see from this post and I
>> would really appreciate some help here. Can you give me some advice on
>> where to start? I have looked everywhere in eclipse.org. Do you know
>> any other sources of information?
>>
>> Thank you very much.
>> Ruben Carvalho
>>
>
> GEF stands for Graphical Editor Framework. It provides a framework for
> representing things in a graphical fashion that you intend to allow the
> editing of. Primarily CAD type programs where you want to represent
> things with graphics. Also programs like VISIO, and perhaps powerpoint
> to a lesser degree.
>
> But not programs like web browsers or word processors, or checkers/chess.
>
>
> So far from what you have said, I would use SWT, but not GEF. You have
> not mentioned any desire to allow any editing of graphical
> representations of things.
>
>
>
>
>
Re: What is GEF [message #162580 is a reply to message #162179] Wed, 22 December 2004 15:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

See the new text example

"Nima Mazloumi" <mazloumi@uni-mannheim.de> wrote in message
news:cq6jqq$gmj$2@www.eclipse.org...
> What would you recommend for Wordprocessing in Eclipse? I need simple
> modelbased WYSIWYG-functionalities.
>
> Thanks,
> Nima
>
>
>
> CL [dnoyeb] Gilbert wrote:
> > Ruben Carvalho wrote:
> >
> >> Hello everybody,
> >>
> >> I am totally lost and I would like to ask for some help here. I have
> >> been a J2EE developer for a while and now I am back to my favourite
> >> part of being a software developer.
> >>
> >> I have to develop a quite complicated desktop application, I mean with
> >> many different types of graphical controls. I will have to include
> >> graphical plotting of sets of data (file input), lots of listeners to
> >> handle several events like showing/hiding file information in a
> >> different part of my "shell" or in a new window, trees, tabs, ...
> >>
> >> I have started with SWT and I realized that I'll use it for sure. The
> >> problem starts when one wants to find easier ways to create all this
> >> mess. That's how I got to GEF. It looks like a really powerful tool
> >> but I am too confused right now.
> >>
> >> Is it a framework "only" for developing viewers (and all the other
> >> types of displaying information on screen)? I mean, would you use it
> >> to create a simple browser (SWT has support for this already)? Or do
> >> you use it for stronger applications where you have interaction with
> >> the end-user, like a UML to code application?
> >>
> >> For example, my application should support zoom on the plotting area.
> >> Should I use GEF for this?
> >>
> >> Does GEF have any visual editor?
> >>
> >> Please guys, I am totally confused as you can see from this post and I
> >> would really appreciate some help here. Can you give me some advice on
> >> where to start? I have looked everywhere in eclipse.org. Do you know
> >> any other sources of information?
> >>
> >> Thank you very much.
> >> Ruben Carvalho
> >>
> >
> > GEF stands for Graphical Editor Framework. It provides a framework for
> > representing things in a graphical fashion that you intend to allow the
> > editing of. Primarily CAD type programs where you want to represent
> > things with graphics. Also programs like VISIO, and perhaps powerpoint
> > to a lesser degree.
> >
> > But not programs like web browsers or word processors, or
checkers/chess.
> >
> >
> > So far from what you have said, I would use SWT, but not GEF. You have
> > not mentioned any desire to allow any editing of graphical
> > representations of things.
> >
> >
> >
> >
> >
Re: What is GEF [message #162588 is a reply to message #162170] Wed, 22 December 2004 15:46 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

"Ruben Carvalho" <carvalho_ruben@yahoo.co.uk> wrote in message
news:cq6is6$l9v$1@www.eclipse.org...
>
> Hi again,
>
> thanks a lot Gilbert. I think I am starting to get the idea.
>
> But still, what about zooming? Do you thing it is possible to create a
> zoom option with SWT? I mean, you use the mouse to select an area in a
> Canvas, for example, and that area is re-drawn inside the whole Canvas.

Com certeza. We have simple scaling support. In fact, we had this tool
implemented but it was a bit messy so it wasn't released.

> And what if suddenly I need to start working with GEF. Is it easy to put
> GEF inside SWT?

GEF requires an SWT Canvas. You must use SWT and Eclipse.
>
> Thanks again.
>
> Ruben Carvalho
>
>
Previous Topic:About creating an Image
Next Topic:How to handle a delete command that needs to prompt user?
Goto Forum:
  


Current Time: Sat Apr 27 02:10:53 GMT 2024

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

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

Back to the top