Adjust specimen delete configurator popup
authorPatrick Plitzner <p.plitzner@bgbm.org>
Tue, 16 Feb 2016 14:02:59 +0000 (15:02 +0100)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Tue, 16 Feb 2016 14:02:59 +0000 (15:02 +0100)
 - remove molecular flag
 - fix text for description flag

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/deleteConfigurator/DeleteSpecimenConfiguratorComposite.java

index 2715c99878e530c69b0651d46f45424f2e44bdbb..8147913df02b4df66fa15e89667e79920485386f 100644 (file)
@@ -37,7 +37,6 @@ public class DeleteSpecimenConfiguratorComposite extends Composite {
     private final SpecimenDeleteConfigurator configurator;
     private final Button btnDeleteChildren;
     private final Button btnDeleteFromTypeDesignation;
     private final SpecimenDeleteConfigurator configurator;
     private final Button btnDeleteChildren;
     private final Button btnDeleteFromTypeDesignation;
-    private final Button btnDeleteMolecularData;
     private final Button btnDeleteIndividualsassociationsfactual;
     private final Button btnDeleteSpecimenDescription;
 
     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);
         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);
 
         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();
 
     }
         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 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);
         IObservableValue observeSelectionBtnDeleteIndividualsassociationsfactualObserveWidget = WidgetProperties.selection().observe(btnDeleteIndividualsassociationsfactual);
         IObservableValue deleteFromIndividualsAssociationConfiguratorObserveValue = PojoProperties.value("deleteFromIndividualsAssociation").observe(configurator);
         bindingContext.bindValue(observeSelectionBtnDeleteIndividualsassociationsfactualObserveWidget, deleteFromIndividualsAssociationConfiguratorObserveValue, null, null);