Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » Technology for Swing + SWT?
Technology for Swing + SWT? [message #30667] Tue, 08 October 2002 16:48 Go to next message
Ed Burnette is currently offline Ed BurnetteFriend
Messages: 279
Registered: July 2009
Senior Member
Has anyone experimented with ways to produce both Swing and SWT components
with a common source base? I'm not talking of a way to use Swing components
in a SWT container or vice versa, I was thinking more along the lines of
some kind of MVC architecture with a Swing view and a SWT view. Could
Eclipse itself provide support for this paradigm in some future version? If
'Swing vs. SWT' weren't an either-or decision it might be easier for some
people with a Swing investment to do things in SWT too. Just fishing for
ideas... TIA.
Re: Technology for Swing + SWT? [message #30839 is a reply to message #30667] Thu, 10 October 2002 14:45 Go to previous messageGo to next message
Martin Möbius is currently offline Martin MöbiusFriend
Messages: 90
Registered: July 2009
Member
http://luxor-xul.sourceforge.net/index.html
No user experience about. There should be links to similar frameworks.

martin
Re: Technology for Swing + SWT? [message #31057 is a reply to message #30667] Fri, 11 October 2002 00:05 Go to previous message
Eclipse UserFriend
Originally posted by: Mik.Kersten.parc.com

"Ed Burnette" <ed.burnette@sas.com> wrote in message
news:anv0se$dib$1@rogue.oti.com...
> Has anyone experimented with ways to produce both Swing and SWT components
> with a common source base? I'm not talking of a way to use Swing
components
> in a SWT container or vice versa, I was thinking more along the lines of
> some kind of MVC architecture with a Swing view and a SWT view. Could
> Eclipse itself provide support for this paradigm in some future version?
If
> 'Swing vs. SWT' weren't an either-or decision it might be easier for some
> people with a Swing investment to do things in SWT too. Just fishing for
> ideas... TIA.

The AspectJ Development Environment framework does something like this. It
uses an MVC for which the view can be constructed using either SWT or Swing
widgets. This is needed so that the structure view trees, graphical
editors, dialogs, tree nodes and icons can be driven by a single model and
controller in the framework, but displayed consistently across Eclipse
(SWT), JBuilder and NetBeans (Swing) plugins. Email me or look into the
org.aspectj.ajde.ui sources (at http://aspectj.org/dl) if you're interested.

Mik

--
Mik Kersten
Development Tools Lead
AspectJ Team, Palo Alto Research Center
http://www.parc.com/mkersten
Re: Technology for Swing + SWT? [message #584480 is a reply to message #30667] Thu, 10 October 2002 14:45 Go to previous message
Martin Möbius is currently offline Martin MöbiusFriend
Messages: 90
Registered: July 2009
Member
http://luxor-xul.sourceforge.net/index.html
No user experience about. There should be links to similar frameworks.

martin
Re: Technology for Swing + SWT? [message #584592 is a reply to message #30667] Fri, 11 October 2002 00:05 Go to previous message
Mik Kersten is currently offline Mik KerstenFriend
Messages: 287
Registered: July 2009
Senior Member
"Ed Burnette" <ed.burnette@sas.com> wrote in message
news:anv0se$dib$1@rogue.oti.com...
> Has anyone experimented with ways to produce both Swing and SWT components
> with a common source base? I'm not talking of a way to use Swing
components
> in a SWT container or vice versa, I was thinking more along the lines of
> some kind of MVC architecture with a Swing view and a SWT view. Could
> Eclipse itself provide support for this paradigm in some future version?
If
> 'Swing vs. SWT' weren't an either-or decision it might be easier for some
> people with a Swing investment to do things in SWT too. Just fishing for
> ideas... TIA.

The AspectJ Development Environment framework does something like this. It
uses an MVC for which the view can be constructed using either SWT or Swing
widgets. This is needed so that the structure view trees, graphical
editors, dialogs, tree nodes and icons can be driven by a single model and
controller in the framework, but displayed consistently across Eclipse
(SWT), JBuilder and NetBeans (Swing) plugins. Email me or look into the
org.aspectj.ajde.ui sources (at http://aspectj.org/dl) if you're interested.

Mik

--
Mik Kersten
Development Tools Lead
AspectJ Team, Palo Alto Research Center
http://www.parc.com/mkersten
Previous Topic:Adding menus programmatically to the workbench
Next Topic:Using eclipse on Red Hat Linux
Goto Forum:
  


Current Time: Thu Apr 25 09:09:15 GMT 2024

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

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

Back to the top