Differences
This shows you the differences between two versions of the page.
eclipse_forms_combobox [2014/02/03 11:09] |
eclipse_forms_combobox [2021/04/05 11:23] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Combobox in Eclipse Forms ====== | ||
+ | Eclipse Forms is a framework for displaying widgets in a more website like style. It also has some convenient ways for creating these widget instances. You just need to create a '' | ||
+ | |||
+ | FormToolkit toolkit = new FormToolkit(page.getDisplay()); | ||
+ | Form form = toolkit.createForm(page); | ||
+ | | ||
+ | toolkit.createText(form.getBody(), | ||
+ | | ||
+ | But some widgets are not out-of-the-box supported by the '' | ||
+ | |||
+ | Control c = new MyControl(form.getBody()); | ||
+ | toolkit.adapt(c); | ||
+ | toolkit.paintBordersFor(c); | ||
+ | |||
+ | ===== Combobox ===== | ||
+ | In case of the combobox which is not out-of-the-box supported by the '' | ||
+ | |||
+ | CCombo combobox = new CCombo(form.getBody(), | ||
+ | |||
+ | {{tag> | ||