Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » [ANN] XSWT relaunched
[ANN] XSWT relaunched [message #443001] Wed, 15 September 2004 20:46 Go to next message
David J. Orme is currently offline David J. OrmeFriend
Messages: 291
Registered: July 2009
Senior Member
Once upon a time, Chris McLaren invented XSWT, an XML-based UI
description language for SWT. It let you write SWT layouts with about
2/3 of the code required by native Java, plus due to its hierarchical
nature, it let you copy and paste parts of a layout much more sensibly
than Java could possibly hope to do.

But XSWT didn't really have a home. Several individuals downloaded it
from Bugzilla and used it for various purposes, but nobody really took
over ownership of the project.

Now XSWT has been relaunched as its own open-source project on SourceForge.

http://xswt.sf.net

There's a file release and an update site with the latest code there.
Here are some of the updated features:

- Reflection-based implementation works with current and future SWT controls
- All the previous nastiness with XML namespaces has been fixed
- There's an XSWT-to-Java compiler
- JFace support has been added
- Control construction and property setting is abstracted--this is one
step toward GUI builder support

I'm supporting the current code base in my spare time because the code
is too good to see die (and because I use it in various places). It
also would be really cool if someone could make XSWT work with VE. ;-)


Regards,

Dave
--
Dave Orme
Eclipse Visual Editor Project Lead
Advanced Systems Concepts' Chief Architect
http://www.swtworkbench.com
Re: [ANN] XSWT relaunched [message #443003 is a reply to message #443001] Wed, 15 September 2004 22:32 Go to previous messageGo to next message
Shaun Jackman is currently offline Shaun JackmanFriend
Messages: 36
Registered: July 2009
Member
Can XSWT be used as a stand-alone tool outside of Eclipse? In
particular, does it have a command line utility?

Thanks,
Shaun
Re: [ANN] XSWT relaunched [message #443007 is a reply to message #443001] Thu, 16 September 2004 01:55 Go to previous messageGo to next message
kite is currently offline kiteFriend
Messages: 34
Registered: July 2009
Member
Hi , David

XSWT is a very cool tool for SWT UI applications , but I think if xswt
used in
a real applications , this feature should be include :

1. include support. a xswt file should be have a "x:include" tag to
include another xswt file.
2. Better support for Font,Color etc.
3. support "x:variables" tag to allow programmer to define some
variables
and use them in descriptions.

Thanks.

David Orme wrote:

> Once upon a time, Chris McLaren invented XSWT, an XML-based UI
> description language for SWT. It let you write SWT layouts with about
> 2/3 of the code required by native Java, plus due to its hierarchical
> nature, it let you copy and paste parts of a layout much more sensibly
> than Java could possibly hope to do.

> But XSWT didn't really have a home. Several individuals downloaded it
> from Bugzilla and used it for various purposes, but nobody really took
> over ownership of the project.

> Now XSWT has been relaunched as its own open-source project on SourceForge.

> http://xswt.sf.net

> There's a file release and an update site with the latest code there.
> Here are some of the updated features:

> - Reflection-based implementation works with current and future SWT controls
> - All the previous nastiness with XML namespaces has been fixed
> - There's an XSWT-to-Java compiler
> - JFace support has been added
> - Control construction and property setting is abstracted--this is one
> step toward GUI builder support

> I'm supporting the current code base in my spare time because the code
> is too good to see die (and because I use it in various places). It
> also would be really cool if someone could make XSWT work with VE. ;-)


> Regards,

> Dave
Re: [ANN] XSWT relaunched [message #443008 is a reply to message #443003] Thu, 16 September 2004 03:15 Go to previous messageGo to next message
David J. Orme is currently offline David J. OrmeFriend
Messages: 291
Registered: July 2009
Senior Member
Shaun Jackman wrote:

> Can XSWT be used as a stand-alone tool outside of Eclipse? In
> particular, does it have a command line utility?

The XSWT-to-Java "compiler" right now is very primitive and works as a
command-line utility from outside Eclipse.

If you want, however, you can embed the XSWT engine into your
applications and have it dynamically load your UIs directly from the
XSWT files.

Both approaches work (and I've used both approaches).


Regards,

Dave
--
Dave Orme
Eclipse Visual Editor Project Lead
Advanced Systems Concepts' Chief Architect
http://www.swtworkbench.com
Re: [ANN] XSWT relaunched [message #443009 is a reply to message #443007] Thu, 16 September 2004 03:18 Go to previous messageGo to next message
David J. Orme is currently offline David J. OrmeFriend
Messages: 291
Registered: July 2009
Senior Member
These are cool ideas. How about cascading style sheets too? ;-)

Thanks,

Dave

kite wrote:

> Hi , David
>
> XSWT is a very cool tool for SWT UI applications , but I think if xswt
> used in
> a real applications , this feature should be include :
>
> 1. include support. a xswt file should be have a "x:include" tag to
> include another xswt file.
> 2. Better support for Font,Color etc.
> 3. support "x:variables" tag to allow programmer to define some
> variables
> and use them in descriptions.
>
> Thanks.
>
> David Orme wrote:
>
>
>>Once upon a time, Chris McLaren invented XSWT, an XML-based UI
>>description language for SWT. It let you write SWT layouts with about
>>2/3 of the code required by native Java, plus due to its hierarchical
>>nature, it let you copy and paste parts of a layout much more sensibly
>>than Java could possibly hope to do.
>
>
>>But XSWT didn't really have a home. Several individuals downloaded it
>>from Bugzilla and used it for various purposes, but nobody really took
>>over ownership of the project.
>
>
>>Now XSWT has been relaunched as its own open-source project on SourceForge.
>
>
>>http://xswt.sf.net
>
>
>>There's a file release and an update site with the latest code there.
>>Here are some of the updated features:
>
>
>>- Reflection-based implementation works with current and future SWT controls
>>- All the previous nastiness with XML namespaces has been fixed
>>- There's an XSWT-to-Java compiler
>>- JFace support has been added
>>- Control construction and property setting is abstracted--this is one
>>step toward GUI builder support
>
>
>>I'm supporting the current code base in my spare time because the code
>>is too good to see die (and because I use it in various places). It
>>also would be really cool if someone could make XSWT work with VE. ;-)
>
>
>
>>Regards,
>
>
>>Dave
>
>
>


--
Dave Orme
Eclipse Visual Editor Project Lead
Advanced Systems Concepts' Chief Architect
http://www.swtworkbench.com
Re: [ANN] XSWT relaunched [message #443012 is a reply to message #443007] Thu, 16 September 2004 07:48 Go to previous messageGo to next message
David Sciamma is currently offline David SciammaFriend
Messages: 78
Registered: July 2009
Member
Hi,

XSWT seems to be really fun but what about Jelly.
I have done several SWT applications with Jelly SWT and it is a powerful tool in UI programming...
1. XML UI definition
2. Other tag libs offers variables and programmation management
3. You can add your own tag libs to complete Jelly (I have written a Form TagLib and a XML one)
4. ...

David

kite wrote:
> Hi , David
>
> XSWT is a very cool tool for SWT UI applications , but I think if xswt
> used in
> a real applications , this feature should be include :
>
> 1. include support. a xswt file should be have a "x:include" tag to
> include another xswt file.
> 2. Better support for Font,Color etc.
> 3. support "x:variables" tag to allow programmer to define some
> variables
> and use them in descriptions.
>
> Thanks.
>
> David Orme wrote:
>
>
>>Once upon a time, Chris McLaren invented XSWT, an XML-based UI
>>description language for SWT. It let you write SWT layouts with about
>>2/3 of the code required by native Java, plus due to its hierarchical
>>nature, it let you copy and paste parts of a layout much more sensibly
>>than Java could possibly hope to do.
>
>
>>But XSWT didn't really have a home. Several individuals downloaded it
>>from Bugzilla and used it for various purposes, but nobody really took
>>over ownership of the project.
>
>
>>Now XSWT has been relaunched as its own open-source project on SourceForge.
>
>
>>http://xswt.sf.net
>
>
>>There's a file release and an update site with the latest code there.
>>Here are some of the updated features:
>
>
>>- Reflection-based implementation works with current and future SWT controls
>>- All the previous nastiness with XML namespaces has been fixed
>>- There's an XSWT-to-Java compiler
>>- JFace support has been added
>>- Control construction and property setting is abstracted--this is one
>>step toward GUI builder support
>
>
>>I'm supporting the current code base in my spare time because the code
>>is too good to see die (and because I use it in various places). It
>>also would be really cool if someone could make XSWT work with VE. ;-)
>
>
>
>>Regards,
>
>
>>Dave
>
>
>

--
David Sciamma

Addr : Prologue 2, Rue Ampere
Addr : BP 87216, 31672 LABEGE Cedex
Tel : + 33 (0)5.61.00.73.45 / +33 (0)6.27.39.43.29
Fax : + 33 (0)5.61.00.51.46
Anyware Technologies - http://www.anyware-tech.com
Re: [ANN] XSWT relaunched [message #443013 is a reply to message #443012] Thu, 16 September 2004 09:24 Go to previous message
kite is currently offline kiteFriend
Messages: 34
Registered: July 2009
Member
Hi ,

I have tried jelly SWT before one year , but I don't like write tag or tag
libs , and I don't need use XML to define my application ,only need use
XML to define our UI component's layout and can do some initilaize work
(for example , setFont(),setColor()) , I do complex UI logics self.
Another reasons : 1.XSWT engine is very small. 2. XSWT is not depend on
other's modules(apache commons-loggs) against Jelly.

Thanks.

David Sciamma wrote:

> Hi,

> XSWT seems to be really fun but what about Jelly.
> I have done several SWT applications with Jelly SWT and it is a powerful
tool in UI programming...
> 1. XML UI definition
> 2. Other tag libs offers variables and programmation management
> 3. You can add your own tag libs to complete Jelly (I have written a Form
TagLib and a XML one)
> 4. ...

> David

> kite wrote:
> > Hi , David
> >
> > XSWT is a very cool tool for SWT UI applications , but I think if xswt
> > used in
> > a real applications , this feature should be include :
> >
> > 1. include support. a xswt file should be have a "x:include" tag to
> > include another xswt file.
> > 2. Better support for Font,Color etc.
> > 3. support "x:variables" tag to allow programmer to define some
> > variables
> > and use them in descriptions.
> >
> > Thanks.
> >
> > David Orme wrote:
> >
> >
> >>Once upon a time, Chris McLaren invented XSWT, an XML-based UI
> >>description language for SWT. It let you write SWT layouts with about
> >>2/3 of the code required by native Java, plus due to its hierarchical
> >>nature, it let you copy and paste parts of a layout much more sensibly
> >>than Java could possibly hope to do.
> >
> >
> >>But XSWT didn't really have a home. Several individuals downloaded it
> >>from Bugzilla and used it for various purposes, but nobody really took
> >>over ownership of the project.
> >
> >
> >>Now XSWT has been relaunched as its own open-source project on SourceForge.
> >
> >
> >>http://xswt.sf.net
> >
> >
> >>There's a file release and an update site with the latest code there.
> >>Here are some of the updated features:
> >
> >
> >>- Reflection-based implementation works with current and future SWT
controls
> >>- All the previous nastiness with XML namespaces has been fixed
> >>- There's an XSWT-to-Java compiler
> >>- JFace support has been added
> >>- Control construction and property setting is abstracted--this is one
> >>step toward GUI builder support
> >
> >
> >>I'm supporting the current code base in my spare time because the code
> >>is too good to see die (and because I use it in various places). It
> >>also would be really cool if someone could make XSWT work with VE. ;-)
> >
> >
> >
> >>Regards,
> >
> >
> >>Dave
> >
> >
> >
Previous Topic:Antialiased fonts
Next Topic:SWT Browser and script errors
Goto Forum:
  


Current Time: Fri Apr 26 07:08:14 GMT 2024

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

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

Back to the top