Revision 23783f7a
Added by Niels Hoffmann about 12 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/ExternalReferenceServiceWizardPage.java | ||
---|---|---|
34 | 34 |
import eu.etaxonomy.cdm.model.reference.Reference; |
35 | 35 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
36 | 36 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
37 |
import eu.etaxonomy.taxeditor.ui.element.LayoutConstants; |
|
37 | 38 |
|
38 | 39 |
/** |
39 | 40 |
* <p>ExternalReferenceServiceWizardPage class.</p> |
... | ... | |
79 | 80 |
public void createControl(Composite parent) { |
80 | 81 |
control = formFactory.createComposite(parent); |
81 | 82 |
|
82 |
control.setLayout(CdmFormFactory.LAYOUT(2, false));
|
|
83 |
control.setLayout(LayoutConstants.LAYOUT(2, false));
|
|
83 | 84 |
|
84 | 85 |
text_query = new Text(control, SWT.SINGLE | SWT.BORDER); |
85 |
text_query.setLayoutData(CdmFormFactory.FILL_HORIZONTALLY());
|
|
86 |
text_query.setLayoutData(LayoutConstants.FILL_HORIZONTALLY());
|
|
86 | 87 |
|
87 | 88 |
button_search = new Button(control, SWT.PUSH); |
88 |
button_search.setLayoutData(CdmFormFactory.RIGHT());
|
|
89 |
button_search.setLayoutData(LayoutConstants.RIGHT());
|
|
89 | 90 |
button_search.setText("Search"); |
90 | 91 |
|
91 | 92 |
button_search.addSelectionListener(this); |
92 | 93 |
|
93 | 94 |
viewer = new ListViewer(control); |
94 |
viewer.getControl().setLayoutData(CdmFormFactory.FILL_HORIZONTALLY(2,1));
|
|
95 |
viewer.getControl().setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2,1));
|
|
95 | 96 |
|
96 | 97 |
viewer.setContentProvider(new IStructuredContentProvider(){ |
97 | 98 |
|
Also available in: Unified diff
Refactoring of selection elements. Additional minor refactoring. Fixed a bug with Translation Editor (#2752)