Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » SWT deprecated in Eclipse 4
SWT deprecated in Eclipse 4 [message #960464] Sat, 27 October 2012 14:06 Go to next message
Rui Domingues is currently offline Rui DominguesFriend
Messages: 194
Registered: October 2010
Senior Member
Hi everyone

I read in wikipedia that, and I cite "SWT support is deprecated in Eclipse Juno, and is planned to be removed entirely in Kepler."

Is this true? Should one use, from now on, only xwt in RCP applications?

The unique way to design RCP UIs in future versions of eclipse is XWT?

Can anyone inlight me? I'm starting a new huge application and I need to know what can I count with?

Thanks in advance
Rui Domingues
Re: SWT deprecated in Eclipse 4 [message #960529 is a reply to message #960464] Sat, 27 October 2012 15:13 Go to previous messageGo to next message
Eclipse UserFriend
I've reverted those edits. I think the author read in far too much from the XWT page. Certainly there's been no talk in the Platform/UI group to undertake such a massive rewrite Smile
Re: SWT deprecated in Eclipse 4 [message #960546 is a reply to message #960529] Sat, 27 October 2012 15:30 Go to previous messageGo to next message
Rui Domingues is currently offline Rui DominguesFriend
Messages: 194
Registered: October 2010
Senior Member
Ok. Thanks for replying.
Re: SWT deprecated in Eclipse 4 [message #960600 is a reply to message #960464] Sat, 27 October 2012 16:32 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
There's no intend to deprecate SWT.

What is true, is that e4 does not make any assumptions how you implement
your UI, by hand, using XWT, using SWT, using JavaFX, using Swing, ... .

Tom

Am 27.10.12 16:06, schrieb Rui Domingues:
> Hi everyone
>
> I read in wikipedia that, and I cite "SWT support is deprecated in
> Eclipse Juno, and is planned to be removed entirely in Kepler."
>
> Is this true? Should one use, from now on, only xwt in RCP applications?
>
> The unique way to design RCP UIs in future versions of eclipse is XWT?
>
> Can anyone inlight me? I'm starting a new huge application and I need to
> know what can I count with?
>
> Thanks in advance
> Rui Domingues
Re: SWT deprecated in Eclipse 4 [message #960732 is a reply to message #960600] Sat, 27 October 2012 19:12 Go to previous messageGo to next message
Rui Domingues is currently offline Rui DominguesFriend
Messages: 194
Registered: October 2010
Senior Member
Thanks.

is there any examples how to use swing?

Thanks again.
rui
Re: SWT deprecated in Eclipse 4 [message #960869 is a reply to message #960732] Sat, 27 October 2012 21:53 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
There is a prototypr from Kai Tödter but frankly if you start today with
a new UI and you use Swing this is not a good idea.

Oracle made it crystal clear that JavaFx is the future and Swing is in
maintance mode. So if you don't want to use SWT then IMHO JavaFX is the
way to go.

For JavaFX there is opensource and commercial support for writing e4
applications with.

See http://www.efxclipse.org/

Tom

Am 27.10.12 21:12, schrieb Rui Domingues:
> Thanks.
>
> is there any examples how to use swing?
>
> Thanks again.
> rui
Re: SWT deprecated in Eclipse 4 [message #961471 is a reply to message #960732] Sun, 28 October 2012 09:49 Go to previous message
Rushan Gilmullin is currently offline Rushan GilmullinFriend
Messages: 61
Registered: June 2011
Member
Rui Domingues wrote on Sat, 27 October 2012 15:12

is there any examples how to use swing?
rui


Kai Todter have create swing renderer prototype as example for generic renderer. You can take it as a base for own swing renderer.

But if I was in your place, I'd choose the javafx, becouse:
1. There are ready renderer for javafx called efxclipse: http://efxclipse.org/
2. Swing today is deprecated technology. It have no support from Oracle and have no future. In general case this is a mistake today choose the swing as a gui platform for new applications (only maybe if you have the command of swing developers and your application is not very complex)
Previous Topic:Does e4 support opening a view in a dialog shell?!
Next Topic:Problem on min/max of Parts
Goto Forum:
  


Current Time: Tue Apr 23 15:18:17 GMT 2024

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

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

Back to the top