package eu.etaxonomy.taxeditor.ui.campanula.specimenSearch;
import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
private Text textCollectorNumber;
private Text textAccessionNumber;
private Text textLocality;
- private Combo comboHerbarium;
- private Combo comboCountry;
+ private Text textHerbarium;
+ private Text textCountry;
/**
* Create the composite.
formToolkit.adapt(lblHerbarium, true, true);
lblHerbarium.setText("Herbarium");
- comboHerbarium = new Combo(this, SWT.NONE);
- comboHerbarium.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB, TableWrapData.TOP, 1, 1));
- formToolkit.adapt(comboHerbarium);
- formToolkit.paintBordersFor(comboHerbarium);
+ textHerbarium = new Text(this, SWT.NONE);
+ textHerbarium.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB, TableWrapData.TOP, 1, 1));
Label lblCountry = new Label(this, SWT.NONE);
formToolkit.adapt(lblCountry, true, true);
lblCountry.setText("Country");
- comboCountry = new Combo(this, SWT.NONE);
- comboCountry.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB, TableWrapData.TOP, 1, 1));
- formToolkit.adapt(comboCountry);
- formToolkit.paintBordersFor(comboCountry);
+ textCountry = new Text(this, SWT.NONE);
+ textCountry.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB, TableWrapData.TOP, 1, 1));
Label lblLocality = new Label(this, SWT.NONE);
formToolkit.adapt(lblLocality, true, true);
public Text getTextAccessionNumber() {
return textAccessionNumber;
}
- public Combo getComboHerbarium() {
- return comboHerbarium;
+ public Text getTextHerbarium() {
+ return textHerbarium;
}
- public Combo getComboCountry() {
- return comboCountry;
+ public Text getTextCountry() {
+ return textCountry;
}
public Text getTextLocality() {
return textLocality;