Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Platform-Neutral GEF Application--Implications?
Platform-Neutral GEF Application--Implications? [message #205598] Mon, 19 December 2005 23:51 Go to next message
David Lynch is currently offline David LynchFriend
Messages: 27
Registered: July 2009
Junior Member
Dear GEF Gurus,

My firm is considering the possibility of building a GEF/EMF application
that will be "platform neutral." This means that we're trying to
determine the costs associated with constructing a GEF/EMF application
where a large chunk of code is shared between Swing and Eclipse
development efforts.

With EMF alone, I am fairly confident that we can connect the EMF model to
Swing controls such as the JTable and JTree; however, the idea of running
GEF in a non-Eclipse environment gives me pause.

Are we dreaming, or is there some way that a GEF application can be made
to run in a non-Eclipse platform such as Swing? In our fantasy world,
there would be some kind of bridge, call it the GEF-to-AWT bridge that
renders GEF drawings on an AWT Canvas (of course, SWT-AWT bridge by
contrast allows Swing controls on top of the Eclipse platform).

So don't hold back. Any ideas on how we can accomplish this are
encouraged, and no line of thinking will be dismissed out-of-hand. I know
we can share the EMF model, but are are we looking at having to maintain
both Java2D/<foo> in parallel with Draw2d/GEF? BTW <foo> in this context
is some imaginary third-party offering that provides comparable power to
GEF but within a Swing/AWT container; I'm not certain such an offering
exists.

Sincerely,
Dave
Re: Platform-Neutral GEF Application--Implications? [message #206058 is a reply to message #205598] Fri, 23 December 2005 21:35 Go to previous message
Felix L J Mayer is currently offline Felix L J MayerFriend
Messages: 202
Registered: July 2009
Senior Member
I am no Swing guru, but writing an application that can run within and
without Eclipse seems rather difficult. The GEF/AWT bridge by writing your
own Graphics class is probably the smallest issue. Why don't you just
package a stripped-down version of Eclipse your application?

"David Lynch" <davidlynch@ojai.net> wrote in message
news:80a81b4598179dd0186bbbfc63778c35$1@www.eclipse.org...
> Dear GEF Gurus,
>
> My firm is considering the possibility of building a GEF/EMF application
> that will be "platform neutral." This means that we're trying to
> determine the costs associated with constructing a GEF/EMF application
> where a large chunk of code is shared between Swing and Eclipse
> development efforts.
>
> With EMF alone, I am fairly confident that we can connect the EMF model to
> Swing controls such as the JTable and JTree; however, the idea of running
> GEF in a non-Eclipse environment gives me pause.
>
> Are we dreaming, or is there some way that a GEF application can be made
> to run in a non-Eclipse platform such as Swing? In our fantasy world,
> there would be some kind of bridge, call it the GEF-to-AWT bridge that
> renders GEF drawings on an AWT Canvas (of course, SWT-AWT bridge by
> contrast allows Swing controls on top of the Eclipse platform).
> So don't hold back. Any ideas on how we can accomplish this are
> encouraged, and no line of thinking will be dismissed out-of-hand. I know
> we can share the EMF model, but are are we looking at having to maintain
> both Java2D/<foo> in parallel with Draw2d/GEF? BTW <foo> in this context
> is some imaginary third-party offering that provides comparable power to
> GEF but within a Swing/AWT container; I'm not certain such an offering
> exists.
>
> Sincerely,
> Dave
>
>
Previous Topic:orthogonal connection
Next Topic:Clipping problem
Goto Forum:
  


Current Time: Fri Apr 26 14:36:58 GMT 2024

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

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

Back to the top