Revision f15b2642
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databaseAdmin/preferencePage/GeneralAdminPreferencePage.java | ||
---|---|---|
39 | 39 |
boolean isShowMediaView = true; |
40 | 40 |
boolean isShowCheckListPerspective = false; |
41 | 41 |
boolean isShowTaxonNodeWizard = true; |
42 |
ICdmRepository controller = null; |
|
42 | 43 |
/** |
43 | 44 |
* {@inheritDoc} |
44 | 45 |
*/ |
... | ... | |
48 | 49 |
|
49 | 50 |
GridLayout gridLayout = new GridLayout(); |
50 | 51 |
composite.setLayout(gridLayout); |
51 |
ICdmRepository controller = CdmStore.getCurrentApplicationConfiguration();
|
|
52 |
controller = CdmStore.getCurrentApplicationConfiguration(); |
|
52 | 53 |
if (controller != null){ |
53 | 54 |
IPreferenceService service = controller.getPreferenceService(); |
54 | 55 |
PrefKey key = CdmPreference.NewKey(PreferenceSubject.NewTaxEditorInstance(), PreferencePredicate.ShowImportExportMenu); |
... | ... | |
137 | 138 |
|
138 | 139 |
@Override |
139 | 140 |
public boolean performOk() { |
140 |
ICdmRepository controller = CdmStore.getCurrentApplicationConfiguration(); |
|
141 |
//ICdmRepository controller = CdmStore.getCurrentApplicationConfiguration();
|
|
141 | 142 |
if (controller != null){ |
142 | 143 |
IPreferenceService service = controller.getPreferenceService(); |
143 | 144 |
|
Also available in: Unified diff
do not save cdm preference which are not changed