How to create dynamic forms in SWT [message #443839] |
Sat, 02 October 2004 19:26  |
Eclipse User |
|
|
|
Hi,
in my application the user is requested to enter data in a form-like editor.
A form contains a couple of items of different data types (strings, dates,
numbers).
I am looking into Eclipse forms to build this editor, composing the form of
different input elements, one for each data type.
Since the underlying model is not static (items may be added/removed
depending on user input),
the form view must be dynamically rebuild on model changes. Using Swing I
could have removed all components from the forms panel displaying the form
and added the updated components again. How can this be done in SWT /
Eclipse Forms API ? I tried to dispose() the form widgets and create
new ones, but the newly created widgets won't appear. Since I am new to SWT
this is probably not the way things are meant to be done.
Any ideas ?
Thanks,
Ruedee
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05454 seconds