Combo combo = comboViewerBaseType.getCombo();
combo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1));
+ Label lblNewLabel_2 = new Label(this, SWT.NONE);
+ lblNewLabel_2.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
+ lblNewLabel_2.setText("Collection");
+
+ txtCollection = new Text(this, SWT.BORDER);
+ txtCollection.setEnabled(false);
+ txtCollection.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
+
+ btnBrowseCollection = new Button(this, SWT.NONE);
+ btnBrowseCollection.setImage(ImageResources.getImage(ImageResources.BROWSE_ICON));
+
Label lblNewLabel = new Label(this, SWT.NONE);
lblNewLabel.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
lblNewLabel.setText("Accession Number");
txtAccNumber = new Text(this, SWT.BORDER);
txtAccNumber.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1));
- Label lblNewLabel_2 = new Label(this, SWT.NONE);
- lblNewLabel_2.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
- lblNewLabel_2.setText("Collection");
-
- txtCollection = new Text(this, SWT.BORDER);
- txtCollection.setEnabled(false);
- txtCollection.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
-
- btnBrowseCollection = new Button(this, SWT.NONE);
- btnBrowseCollection.setImage(ImageResources.getImage(ImageResources.BROWSE_ICON));
-
- Label lblNewLabel_1 = new Label(this, SWT.NONE);
- lblNewLabel_1.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
- lblNewLabel_1.setText("Type Status");
+ Label lblNewLabel_1 = new Label(this, SWT.NONE);
+ lblNewLabel_1.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
+ lblNewLabel_1.setText("Type Status");
- comboTypeStatus = new TermUuidComboViewer(this, SWT.NONE);
- comboTypeStatus.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1));
- comboTypeStatus.setInput(TermType.SpecimenTypeDesignationStatus);
+ comboTypeStatus = new TermUuidComboViewer(this, SWT.NONE);
+ comboTypeStatus.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1));
+ comboTypeStatus.setInput(TermType.SpecimenTypeDesignationStatus);
}