After restarting Eclipse you should really look at the details from preferences, where you can configure how the generated code should look. There are so many properties – I'm sure you'll be able to find one suited to your own individual style.

WindowBuilder works bi-directionally: You can change the design using Drag'n'Drop or type into the source code – the other part will be dynamically changed. The easiest way to try it out is to create a SWT/JFace Java project and then inside this project a RCP ViewPart. WindowBuilder provides many powerful wizards.

Opening the ViewPart inside the Designer Editor, you'll find all the UI elements inside a palette, from there you can drag them into the design area. Properties of all elements can be edited in detail.

There's also a tree view to display the structure of your components.

If you would like to see the results of your design 'live' – it's only one mouse click away.

Also switching between source, design and databinding is easy.

Without entering one line of code WindowBuilder has generated:
You're developing RAP applications ? No problem: WindowBuilder also allows you to design RAP applications.


Prospect
If you don't know WindowBuilder yet, you should try it out soon – WindowBuilder is flexible and complex, but easy to use.
The next part will be focussed on the large X – I mean Xtext 2, Xbase, Xtend2. Using these frameworks, generating code becomes easy. Since the old days of openArchitectureWare so many new cool things were developed. It makes sense to take a deeper look at this. Stay tuned!
Комментариев нет:
Отправить комментарий