Project

General

Profile

« Previous | Next » 

Revision aca3384d

Added by Patrick Plitzner about 8 years ago

Adjust specimen delete configurator popup

  • remove molecular flag
  • fix text for description flag

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/deleteConfigurator/DeleteSpecimenConfiguratorComposite.java
37 37
    private final SpecimenDeleteConfigurator configurator;
38 38
    private final Button btnDeleteChildren;
39 39
    private final Button btnDeleteFromTypeDesignation;
40
    private final Button btnDeleteMolecularData;
41 40
    private final Button btnDeleteIndividualsassociationsfactual;
42 41
    private final Button btnDeleteSpecimenDescription;
43 42

  
......
62 61
        btnDeleteChildren.setText("Delete Children");
63 62

  
64 63
        btnDeleteFromTypeDesignation = new Button(this, SWT.CHECK);
65
        btnDeleteFromTypeDesignation.setText("Delete from type designation");
66

  
67
        btnDeleteMolecularData = new Button(this, SWT.CHECK);
68
        btnDeleteMolecularData.setText("Delete molecular data");
64
        btnDeleteFromTypeDesignation.setText("Delete from type designations");
69 65

  
70 66
        btnDeleteIndividualsassociationsfactual = new Button(this, SWT.CHECK);
71 67
        btnDeleteIndividualsassociationsfactual.setText("Delete from factual data");
72 68

  
73 69
        btnDeleteSpecimenDescription = new Button(this, SWT.CHECK);
74
        btnDeleteSpecimenDescription.setText("Delete specimen description");
70
        btnDeleteSpecimenDescription.setText("Delete from \"Described specimen\" in taxon descriptions");
75 71
        m_bindingContext = initDataBindings();
76 72

  
77 73
    }
......
86 82
        IObservableValue deleteFromTypeDesignationConfiguratorObserveValue = PojoProperties.value("deleteFromTypeDesignation").observe(configurator);
87 83
        bindingContext.bindValue(observeSelectionBtnDeleteFromTypeDesignationObserveWidget, deleteFromTypeDesignationConfiguratorObserveValue, null, null);
88 84
        //
89
        IObservableValue observeSelectionBtnDeleteMolecularDataObserveWidget = WidgetProperties.selection().observe(btnDeleteMolecularData);
90
        IObservableValue deleteMolecularDataConfiguratorObserveValue = PojoProperties.value("deleteMolecularData").observe(configurator);
91
        bindingContext.bindValue(observeSelectionBtnDeleteMolecularDataObserveWidget, deleteMolecularDataConfiguratorObserveValue, null, null);
92
        //
93 85
        IObservableValue observeSelectionBtnDeleteIndividualsassociationsfactualObserveWidget = WidgetProperties.selection().observe(btnDeleteIndividualsassociationsfactual);
94 86
        IObservableValue deleteFromIndividualsAssociationConfiguratorObserveValue = PojoProperties.value("deleteFromIndividualsAssociation").observe(configurator);
95 87
        bindingContext.bindValue(observeSelectionBtnDeleteIndividualsassociationsfactualObserveWidget, deleteFromIndividualsAssociationConfiguratorObserveValue, null, null);

Also available in: Unified diff