From 62b9b524fe184bfd0c701b562a9737341d6e3743 Mon Sep 17 00:00:00 2001
From: Patrick Plitzner
Date: Wed, 10 Apr 2019 15:50:16 +0200
Subject: [PATCH] ref #8233 Move collection above accession number
---
.../name/type/CloneTypeWizardComposite.java | 34 +++++++++----------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/type/CloneTypeWizardComposite.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/type/CloneTypeWizardComposite.java
index a7ae90865..faf2a7e20 100644
--- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/type/CloneTypeWizardComposite.java
+++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/type/CloneTypeWizardComposite.java
@@ -51,6 +51,17 @@ public class CloneTypeWizardComposite extends Composite {
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");
@@ -58,24 +69,13 @@ public class CloneTypeWizardComposite extends Composite {
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);
}
--
2.34.1