import eu.etaxonomy.cdm.model.reference.Reference;
import eu.etaxonomy.taxeditor.store.CdmStore;
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
+import eu.etaxonomy.taxeditor.ui.element.LayoutConstants;
/**
* <p>ExternalReferenceServiceWizardPage class.</p>
public void createControl(Composite parent) {
control = formFactory.createComposite(parent);
- control.setLayout(CdmFormFactory.LAYOUT(2, false));
+ control.setLayout(LayoutConstants.LAYOUT(2, false));
text_query = new Text(control, SWT.SINGLE | SWT.BORDER);
- text_query.setLayoutData(CdmFormFactory.FILL_HORIZONTALLY());
+ text_query.setLayoutData(LayoutConstants.FILL_HORIZONTALLY());
button_search = new Button(control, SWT.PUSH);
- button_search.setLayoutData(CdmFormFactory.RIGHT());
+ button_search.setLayoutData(LayoutConstants.RIGHT());
button_search.setText("Search");
button_search.addSelectionListener(this);
viewer = new ListViewer(control);
- viewer.getControl().setLayoutData(CdmFormFactory.FILL_HORIZONTALLY(2,1));
+ viewer.getControl().setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2,1));
viewer.setContentProvider(new IStructuredContentProvider(){