Revision 25a3ce1e
Added by Katja Luther over 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/GeneralPreferencePage.java | ||
---|---|---|
74 | 74 |
|
75 | 75 |
showIOMenuButton.addSelectionListener(this); |
76 | 76 |
|
77 |
if (isShowIOMenu == null || !isOverrideShowIOMenu){
|
|
77 |
if (isShowIOMenu == null || (!isOverrideShowIOMenu && !isAdminPreference)){
|
|
78 | 78 |
showIOMenuButton.select(0); |
79 | 79 |
}else if (isShowIOMenu){ |
80 | 80 |
showIOMenuButton.select(1); |
... | ... | |
99 | 99 |
isAdminPreference); |
100 | 100 |
|
101 | 101 |
showChecklistPerspectiveButton.addSelectionListener(this); |
102 |
if (isShowCheckListPerspective == null || !isOverrideShowCheckListPerspective){
|
|
102 |
if (isShowCheckListPerspective == null || (!isOverrideShowIOMenu && !isAdminPreference)){
|
|
103 | 103 |
showChecklistPerspectiveButton.select(0); |
104 | 104 |
}else if (isShowCheckListPerspective){ |
105 | 105 |
showChecklistPerspectiveButton.select(1); |
... | ... | |
124 | 124 |
|
125 | 125 |
|
126 | 126 |
showTaxonNodeWizardButton.setText(Messages.DatabasePreferncesPage_Show_TaxonNodeWizard); |
127 |
if (isShowTaxonNodeWizard){ |
|
128 |
showTaxonNodeWizardButton.select(0); |
|
129 |
}else{ |
|
130 |
showTaxonNodeWizardButton.select(1); |
|
131 |
} |
|
132 |
if (isShowTaxonNodeWizard == null || !isOverrideShowTaxonNodeWizard){ |
|
127 |
|
|
128 |
if (isShowTaxonNodeWizard == null || (!isOverrideShowIOMenu && !isAdminPreference)){ |
|
133 | 129 |
showTaxonNodeWizardButton.select(0); |
134 | 130 |
}else if (isShowTaxonNodeWizard){ |
135 | 131 |
showTaxonNodeWizardButton.select(1); |
Also available in: Unified diff
ref #8385: fixes for preferences