Revision 755105d4
Added by Katja Luther almost 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databaseAdmin/preferencePage/GeneralAdminPreferencePage.java | ||
---|---|---|
110 | 110 |
@Override |
111 | 111 |
protected void performDefaults() { |
112 | 112 |
isShowIOMenu = Boolean.valueOf(PreferencePredicate.ShowImportExportMenu.getDefaultValue().toString()); |
113 |
showIOMenuButton.setSelection(isShowIOMenu); |
|
113 |
if (isShowIOMenu){ |
|
114 |
showIOMenuButton.select(0); |
|
115 |
}else{ |
|
116 |
showIOMenuButton.select(1); |
|
117 |
} |
|
114 | 118 |
isShowCheckListPerspective = Boolean.valueOf(PreferencePredicate.ShowChecklistPerspective.getDefaultValue().toString()); |
115 |
showChecklistPerspectiveButton.setSelection(isShowCheckListPerspective); |
|
119 |
if (isShowCheckListPerspective){ |
|
120 |
showChecklistPerspectiveButton.select(0); |
|
121 |
}else{ |
|
122 |
showChecklistPerspectiveButton.select(1); |
|
123 |
} |
|
124 |
|
|
116 | 125 |
isShowTaxonNodeWizard = Boolean.valueOf(PreferencePredicate.ShowTaxonNodeWizard.getDefaultValue().toString()); |
117 |
showTaxonNodeWizardButton.setSelection(isShowTaxonNodeWizard); |
|
126 |
if (isShowTaxonNodeWizard){ |
|
127 |
showTaxonNodeWizardButton.select(0); |
|
128 |
}else{ |
|
129 |
showTaxonNodeWizardButton.select(1); |
|
130 |
} |
|
131 |
|
|
118 | 132 |
isAllowOverrideShowIOMenu = true; |
133 |
|
|
119 | 134 |
allowOverrideShowIOMenuButton.setSelection(isAllowOverrideShowIOMenu); |
120 | 135 |
isAllowOverrideShowCheckListPerspective = true; |
121 | 136 |
allowOverrideShowChecklistButton.setSelection(isAllowOverrideShowCheckListPerspective); |
Also available in: Unified diff
ref #8045: show possible entries for preferences in combo boxes and show default value - continue