JFace/FormLayout support; code formatting

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

JFace/FormLayout support; code formatting

Postby sp00ky » Fri Oct 03, 2003 3:13 am

I'm currently evaluating SWT Designers because i'd like to use SWT/JFace for a bigger GUI APP in my firm. Actually i like the style / usage of the designer very much but i need some more information.
I'm pretty new to the SWT/JFace stuff (done SWING mostly; have some experience with BORLAND DELPHI IDE, too) but as far as I can tell, SWT/JFace provides some very nice features and concepts for GUI programming, so...:
- I'm using the free version of the designer now (evaluating ...) where the JFace support is pretty inexistant, how much is there in the prof version?

- FormLayout seems to be a pretty powerfull layout, when will it be supported?

- can there be done anything about the code formatting? putting everything in the main(..) method may be ok for small apps, but for something bigger (multiple Shells, Decorations, ...) that won't work out. is there more flexibility in the prof version?

tnx for your answer :)
*sp00ky*
simon thierstein
~~~~~~
there is no spoon
sp00ky
 
Posts: 1
Joined: Fri Oct 03, 2003 2:42 am

Postby Eric Clayberg » Fri Oct 03, 2003 1:42 pm

I'm using the free version of the designer now (evaluating ...) where the JFace support is pretty inexistant, how much is there in the prof version?


The pro version includes support for all of the common JFace widgets like TableViewers, CheckboxTableViewers, TableTreeViewer, TreeViewers, CheckboxTreeViewers, ListViewers, etc. It also supports creating JFace wizards, dialogs and application windows.

FormLayout seems to be a pretty powerfull layout, when will it be supported?


Very soon. It us currently under development and looking very good. It will include a nice intelligent attachment mechanism with visual feedback for various snap points.

can there be done anything about the code formatting? putting everything in the main(..) method may be ok for small apps, but for something bigger (multiple Shells, Decorations, ...) that won't work out.


Actually, main() methods are only used for SWT applications. For JFace dialogs, the designer creates a createDialogArea(Composite parent) method; For JFace wizard pages, it creates a createControl(Composite parent) method; and for JFace application windows, it creates several methods including createContents(Composite parent), createActions(), createMenuManager(), createToolBarManager(int arg0), etc.

is there more flexibility in the prof version?


We will be adding quite a bit more flexibility in terms of code generation in the near future. In addition to the default designer style of putting each widget into its own block, there will be an option to generate all of the widgets into a single block (the "flat" style common in much of the base Eclipse code). We will also be supporting "call outs" so that groups of widgets may be defined in different methods and then called by the main widget construction method. This will form the basis for visual inheritance support where a subclass may selectively override one or more call out methods from the parent.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: Google [Bot] and 1 guest