public SpecimenAdminPreferences() {
}
-
boolean isShowSpecimenRelatedIssues;
boolean isShowCollectingAreaInGeneralSection;
boolean isDeterminationOnlyForFieldUnits;
getValues();
-
final Button showSpecimenButton = new Button(parent, SWT.CHECK);
showSpecimenButton.setText(Messages.DatabasePreferncesPage_Show_Specimen);
if(!CdmStore.isActive()){
return;
}
-
-
-
}
private void getValues(){
this.isShowSpecimenRelatedIssues = true;
}
-
key = CdmPreference.NewKey(PreferenceSubject.NewTaxEditorInstance(), PreferencePredicate.ShowCollectingAreasInGeneralSection);
CdmPreference isShowCollectingAreaInGeneralSectionPref = service.find(key);
if (isShowCollectingAreaInGeneralSectionPref != null){
CdmPreference isShowTaxonAssociationPref = service.find(key);
if (isShowTaxonAssociationPref != null){
this.isShowTaxonAssociation = Boolean.valueOf(isShowTaxonAssociationPref.getValue());
- // isUseLocalPreference = isShowTaxonAssociationPref.isAllowOverride();
}
key = CdmPreference.NewKey(PreferenceSubject.NewTaxEditorInstance(), PreferencePredicate.ShowLifeForm);
this.isShowLifeForm = Boolean.valueOf(isShowLifeFormPref.getValue());
}
-
-
-
}
}