Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » jface support in Scout(can scout still used with Jface ?)
jface support in Scout [message #1841947] Fri, 04 June 2021 03:38 Go to next message
JOHN ZHANG is currently offline JOHN ZHANGFriend
Messages: 4
Registered: October 2016
Junior Member
we have a large Eclipse RAP based application and plan to migrate to Scout. It would be nice if Scout support JFace as RAP/RCP does.
Re: jface support in Scout [message #1841950 is a reply to message #1841947] Fri, 04 June 2021 06:22 Go to previous messageGo to next message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 204
Registered: September 2012
Location: Baden-Dättwil, Switzerla...
Senior Member
Hi John

Scout moved away from the Eclipse eco system with version 5.1 (btw: the latest version of Scout today is 11). From that version on we've removed the GUI layers for RAP, SWT and Swing and also removed other dependencies to Eclipse concepts and libraries like OSGi, the JobManager, etc. JFace is a part of that eco system and we don't plan to go back. Today Scout always renders a HTML UI.

However, the main goal of JFace was to simplify the handling of the underlying SWT library and provide powerful widgets which are easy to use. That's exactly what Scout does: it gives you powerful and versatile widgets like tables, trees, forms, auto-complete fields, etc. - but you as a programmer don't have to deal with the tedious details of the UI, Scout does that for you.

So maybe it's still worth to take a closer look at Scout. Even if there is no direct support for JFace, it should be possible to migrate from JFace to Scout, since both provide a similar set of widgets. Maybe you could write an automatic migrator which transforms your java code using the JFace API into Scout code, using Scout concepts like getConfigured* and exec* methods? This will not work for every line of code, but it could work for large parts of your application.

Cheers
André


Eclipse Scout Homepage | Documentation | GitHub
Re: jface support in Scout [message #1841990 is a reply to message #1841950] Sun, 06 June 2021 10:36 Go to previous message
JOHN ZHANG is currently offline JOHN ZHANGFriend
Messages: 4
Registered: October 2016
Junior Member
Thanks for the explanation, looks like a rewrite of the UI portion is the best option while keeping the logic part. It should be fairly straightforward since both Scout and RAP are server-side UI technology.
Previous Topic:heatmap isn't displayed correctly
Next Topic:execCompleteEdit error
Goto Forum:
  


Current Time: Tue Feb 27 21:27:14 GMT 2024

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

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

Back to the top