From aca3384dec5b45970d2df240a1c25db1ce45517a Mon Sep 17 00:00:00 2001
From: Patrick Plitzner
Date: Tue, 16 Feb 2016 15:02:59 +0100
Subject: [PATCH] Adjust specimen delete configurator popup - remove molecular
flag - fix text for description flag
---
.../DeleteSpecimenConfiguratorComposite.java | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/deleteConfigurator/DeleteSpecimenConfiguratorComposite.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/deleteConfigurator/DeleteSpecimenConfiguratorComposite.java
index 2715c9987..8147913df 100644
--- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/deleteConfigurator/DeleteSpecimenConfiguratorComposite.java
+++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/deleteConfigurator/DeleteSpecimenConfiguratorComposite.java
@@ -37,7 +37,6 @@ public class DeleteSpecimenConfiguratorComposite extends Composite {
private final SpecimenDeleteConfigurator configurator;
private final Button btnDeleteChildren;
private final Button btnDeleteFromTypeDesignation;
- private final Button btnDeleteMolecularData;
private final Button btnDeleteIndividualsassociationsfactual;
private final Button btnDeleteSpecimenDescription;
@@ -62,16 +61,13 @@ public class DeleteSpecimenConfiguratorComposite extends Composite {
btnDeleteChildren.setText("Delete Children");
btnDeleteFromTypeDesignation = new Button(this, SWT.CHECK);
- btnDeleteFromTypeDesignation.setText("Delete from type designation");
-
- btnDeleteMolecularData = new Button(this, SWT.CHECK);
- btnDeleteMolecularData.setText("Delete molecular data");
+ btnDeleteFromTypeDesignation.setText("Delete from type designations");
btnDeleteIndividualsassociationsfactual = new Button(this, SWT.CHECK);
btnDeleteIndividualsassociationsfactual.setText("Delete from factual data");
btnDeleteSpecimenDescription = new Button(this, SWT.CHECK);
- btnDeleteSpecimenDescription.setText("Delete specimen description");
+ btnDeleteSpecimenDescription.setText("Delete from \"Described specimen\" in taxon descriptions");
m_bindingContext = initDataBindings();
}
@@ -86,10 +82,6 @@ public class DeleteSpecimenConfiguratorComposite extends Composite {
IObservableValue deleteFromTypeDesignationConfiguratorObserveValue = PojoProperties.value("deleteFromTypeDesignation").observe(configurator);
bindingContext.bindValue(observeSelectionBtnDeleteFromTypeDesignationObserveWidget, deleteFromTypeDesignationConfiguratorObserveValue, null, null);
//
- IObservableValue observeSelectionBtnDeleteMolecularDataObserveWidget = WidgetProperties.selection().observe(btnDeleteMolecularData);
- IObservableValue deleteMolecularDataConfiguratorObserveValue = PojoProperties.value("deleteMolecularData").observe(configurator);
- bindingContext.bindValue(observeSelectionBtnDeleteMolecularDataObserveWidget, deleteMolecularDataConfiguratorObserveValue, null, null);
- //
IObservableValue observeSelectionBtnDeleteIndividualsassociationsfactualObserveWidget = WidgetProperties.selection().observe(btnDeleteIndividualsassociationsfactual);
IObservableValue deleteFromIndividualsAssociationConfiguratorObserveValue = PojoProperties.value("deleteFromIndividualsAssociation").observe(configurator);
bindingContext.bindValue(observeSelectionBtnDeleteIndividualsassociationsfactualObserveWidget, deleteFromIndividualsAssociationConfiguratorObserveValue, null, null);
--
2.34.1