Project

General

Profile

Revision a9316ea5

IDa9316ea5b93b387a82257b387f9c4f0780e99f9e
Parent 41058237
Child d3ec20ed

Added by Patrick Plitzner 12 months ago

code cleaning

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databaseAdmin/preferencePage/SpecimenAdminPreferences.java
39 39
    public SpecimenAdminPreferences() {
40 40
    }
41 41

  
42

  
43 42
    boolean isShowSpecimenRelatedIssues;
44 43
    boolean isShowCollectingAreaInGeneralSection;
45 44
    boolean isDeterminationOnlyForFieldUnits;
......
54 53

  
55 54
        getValues();
56 55

  
57

  
58 56
        final Button showSpecimenButton = new Button(parent, SWT.CHECK);
59 57

  
60 58
        showSpecimenButton.setText(Messages.DatabasePreferncesPage_Show_Specimen);
......
156 154
        if(!CdmStore.isActive()){
157 155
            return;
158 156
        }
159

  
160

  
161

  
162 157
    }
163 158

  
164 159
    private void getValues(){
......
174 169
                this.isShowSpecimenRelatedIssues = true;
175 170
            }
176 171

  
177

  
178 172
            key = CdmPreference.NewKey(PreferenceSubject.NewTaxEditorInstance(), PreferencePredicate.ShowCollectingAreasInGeneralSection);
179 173
            CdmPreference isShowCollectingAreaInGeneralSectionPref = service.find(key);
180 174
            if (isShowCollectingAreaInGeneralSectionPref != null){
......
190 184
            CdmPreference isShowTaxonAssociationPref = service.find(key);
191 185
            if (isShowTaxonAssociationPref != null){
192 186
                this.isShowTaxonAssociation = Boolean.valueOf(isShowTaxonAssociationPref.getValue());
193
               // isUseLocalPreference = isShowTaxonAssociationPref.isAllowOverride();
194 187
            }
195 188

  
196 189
            key = CdmPreference.NewKey(PreferenceSubject.NewTaxEditorInstance(), PreferencePredicate.ShowLifeForm);
......
199 192
                this.isShowLifeForm = Boolean.valueOf(isShowLifeFormPref.getValue());
200 193
            }
201 194

  
202

  
203

  
204

  
205 195
        }
206 196
    }
207 197

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)