Revision 9181d281
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/CdmPreferencePage.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
private boolean isApply; |
31 | 31 |
|
32 |
protected boolean isAdminPreference = false;
|
|
33 |
protected String overrideString = Messages.GeneralPreference_allowOverride; |
|
32 |
protected boolean isAdminPreference; |
|
33 |
|
|
34 | 34 |
|
35 | 35 |
public CdmPreferencePage() { |
36 | 36 |
this(null, null); |
... | ... | |
95 | 95 |
|
96 | 96 |
protected Button createAllowOverrideButton(Composite activateComp) { |
97 | 97 |
final Button allowOverrideCheckButton = new Button(activateComp, SWT.CHECK); |
98 |
String overrideString; |
|
99 |
if (isAdminPreference){ |
|
100 |
overrideString = Messages.GeneralPreference_allowOverride; |
|
101 |
}else{ |
|
102 |
overrideString = Messages.GeneralPreference_override; |
|
103 |
} |
|
98 | 104 |
allowOverrideCheckButton.setText(overrideString); |
99 | 105 |
GridData grid = new GridData(); |
100 | 106 |
grid.horizontalAlignment = SWT.END; |
Also available in: Unified diff
ref #7849: continue adapt db and local preference pages