Revision 23783f7a
Added by Niels Hoffmann about 12 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/combo/EnumComboElement.java | ||
---|---|---|
33 | 33 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
34 | 34 |
import eu.etaxonomy.taxeditor.ui.element.IEnableableFormElement; |
35 | 35 |
import eu.etaxonomy.taxeditor.ui.element.ISelectable; |
36 |
import eu.etaxonomy.taxeditor.ui.element.LayoutConstants; |
|
36 | 37 |
|
37 | 38 |
/** |
38 | 39 |
* <p> |
... | ... | |
123 | 124 |
// create combo |
124 | 125 |
combo = new Combo(getLayoutComposite(), SWT.BORDER | SWT.READ_ONLY); |
125 | 126 |
addControl(combo); |
126 |
combo.setLayoutData(CdmFormFactory.FILL_HORIZONTALLY());
|
|
127 |
combo.setLayoutData(LayoutConstants.FILL_HORIZONTALLY());
|
|
127 | 128 |
setVisibleItemCount(DEFAULT_VISIBLE_ITEMS); |
128 | 129 |
|
129 | 130 |
populateTypes(); |
Also available in: Unified diff
Refactoring of selection elements. Additional minor refactoring. Fixed a bug with Translation Editor (#2752)