Skip to main content



      Home
Home » Eclipse Projects » GEF » newbie question
newbie question [message #101635] Thu, 23 October 2003 02:47 Go to next message
Eclipse UserFriend
Originally posted by: veith.pixel.de

hi there,

we're going to start a new project. the goal is a graphical tool that
allows to build/edit/maintain/export/import diagrams (Like UML or
circuit diagram...) via DnD. AFAIK GEF can be used only in conjunction
with SWT and only inside the eclipse container. The alternative solution
is Swing/JavaBeans generally known
from GUI builders in IDEs. Can somebody give me general appraisal of
eclpise/SWT/GEF versus Swing/JavaBeans (pros and cons) ?

TIA
Gernot
Re: newbie question [message #101650 is a reply to message #101635] Thu, 23 October 2003 06:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.Rigidsoftware.com

On Thu, 23 Oct 2003 08:47:50 +0200, Gernot Veith wrote:

> hi there,
>
> we're going to start a new project. the goal is a graphical tool that
> allows to build/edit/maintain/export/import diagrams (Like UML or circuit
> diagram...) via DnD. AFAIK GEF can be used only in conjunction with SWT
> and only inside the eclipse container. The alternative solution is
> Swing/JavaBeans generally known
> from GUI builders in IDEs. Can somebody give me general appraisal of
> eclpise/SWT/GEF versus Swing/JavaBeans (pros and cons) ?
>
> TIA
> Gernot


GEF is an architecture, swing is a simple library. If you have the time
and resources their is no reason why you shouldnt do it with swing. But I
prefer GEF because it does what Java sets out to do. Allows someone else
to maintain a large portion of your work. GEF will improve as its users
improve it. That will typically be far faster than an application which
is designed to do the same thing as GEF, but is in-house.

Yes, GEF requires eclipse AFAICT. But I would expect the choice to use
eclipse to preceed the choice to use GEF.


CL
Re: newbie question [message #101748 is a reply to message #101635] Thu, 23 October 2003 10:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: felix.mayer.comcast.net

AFAIK GEF does not require Eclipse, but it does require SWT (I may be
wrong).
It doesn't make sense to compare SWT/GEF to Swing/JavaBeans, you can only
compare SWT to AWT/Swing. GEF is the Graphical Editor Framework, you would
have to find a similar library based on Swing in order to be able to
compare.

"Gernot Veith" <veith@pixel.de> wrote in message
news:bn7th9$ldq$1@eclipse.org...
> hi there,
>
> we're going to start a new project. the goal is a graphical tool that
> allows to build/edit/maintain/export/import diagrams (Like UML or
> circuit diagram...) via DnD. AFAIK GEF can be used only in conjunction
> with SWT and only inside the eclipse container. The alternative solution
> is Swing/JavaBeans generally known
> from GUI builders in IDEs. Can somebody give me general appraisal of
> eclpise/SWT/GEF versus Swing/JavaBeans (pros and cons) ?
>
> TIA
> Gernot
>
Re: newbie question [message #101772 is a reply to message #101635] Thu, 23 October 2003 13:08 Go to previous messageGo to next message
Eclipse UserFriend
It seems you are looking to develop an application that does not run on the
Eclipse platform. In that case, you cannot use GEF (which is a framework to
make lightweight graphical components -- graphical editors, palettes,
etc. -- to be used in the Eclipse platform). However, you can use Draw2D.
Draw2D (also developed by the GEF team) is a lightweight GUI toolkit based
on SWT. Although Draw2D was developed mainly to build the graphical
framework for Eclipse, it is stand-alone (like SWT) and can be used outside
of Eclipse (you would need SWT, of course). You could say that Draw2D is to
SWT what Swing is to AWT. However, truth be told, Draw2D is not nearly as
comprehensive as Swing. You'll find that Draw2D does not have many of the
advanced widgets that you will find in Swing (table trees and what not),
among other things.

You might, however, want to consider building your application for the
Eclipse platform (or at least porting to it at some point). If that is
something you are contemplating, then going with SWT/Draw2D might be a
better idea than going with AWT/Swing since you won't have to completely
re-do the GUI when you want to run your application in Eclipse. Although
there is some minimal support for merging AWT/Swing with SWT, I think it's
better to steer clear of that option. For more information that can help
you decide whether or not to support the Eclipse platform, try the
eclipse.platform newsgroup. For SWT vs. AWT, eclipse.platform.swt.

Pratik Shah


"Gernot Veith" <veith@pixel.de> wrote in message
news:bn7th9$ldq$1@eclipse.org...
> hi there,
>
> we're going to start a new project. the goal is a graphical tool that
> allows to build/edit/maintain/export/import diagrams (Like UML or
> circuit diagram...) via DnD. AFAIK GEF can be used only in conjunction
> with SWT and only inside the eclipse container. The alternative solution
> is Swing/JavaBeans generally known
> from GUI builders in IDEs. Can somebody give me general appraisal of
> eclpise/SWT/GEF versus Swing/JavaBeans (pros and cons) ?
>
> TIA
> Gernot
>
Re: newbie question [message #101819 is a reply to message #101772] Thu, 23 October 2003 15:37 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

In addition, the Eclipse IDE is being separated into an Eclipse "client
platform" and the IDE extension to that platform. So, the client platform
will be smaller and lighter-weight than the entire IDE. This is further
motivation to use eclipse

"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:bn91rg$qhj$1@eclipse.org...
> It seems you are looking to develop an application that does not run on
the
> Eclipse platform. In that case, you cannot use GEF (which is a framework
to
> make lightweight graphical components -- graphical editors, palettes,
> etc. -- to be used in the Eclipse platform). However, you can use Draw2D.
> Draw2D (also developed by the GEF team) is a lightweight GUI toolkit based
> on SWT. Although Draw2D was developed mainly to build the graphical
> framework for Eclipse, it is stand-alone (like SWT) and can be used
outside
> of Eclipse (you would need SWT, of course). You could say that Draw2D is
to
> SWT what Swing is to AWT. However, truth be told, Draw2D is not nearly as
> comprehensive as Swing. You'll find that Draw2D does not have many of the
> advanced widgets that you will find in Swing (table trees and what not),
> among other things.
>
> You might, however, want to consider building your application for the
> Eclipse platform (or at least porting to it at some point). If that is
> something you are contemplating, then going with SWT/Draw2D might be a
> better idea than going with AWT/Swing since you won't have to completely
> re-do the GUI when you want to run your application in Eclipse. Although
> there is some minimal support for merging AWT/Swing with SWT, I think it's
> better to steer clear of that option. For more information that can help
> you decide whether or not to support the Eclipse platform, try the
> eclipse.platform newsgroup. For SWT vs. AWT, eclipse.platform.swt.
>
> Pratik Shah
>
>
> "Gernot Veith" <veith@pixel.de> wrote in message
> news:bn7th9$ldq$1@eclipse.org...
> > hi there,
> >
> > we're going to start a new project. the goal is a graphical tool that
> > allows to build/edit/maintain/export/import diagrams (Like UML or
> > circuit diagram...) via DnD. AFAIK GEF can be used only in conjunction
> > with SWT and only inside the eclipse container. The alternative solution
> > is Swing/JavaBeans generally known
> > from GUI builders in IDEs. Can somebody give me general appraisal of
> > eclpise/SWT/GEF versus Swing/JavaBeans (pros and cons) ?
> >
> > TIA
> > Gernot
> >
>
>
Previous Topic:PaletteViewerKeyHandler
Next Topic:moving IFigure
Goto Forum:
  


Current Time: Mon Jul 07 16:32:20 EDT 2025

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

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

Back to the top