Project

General

Profile

Revision 9c8494ea

ID9c8494ea87cc7853efee77f16a6ca8d790fc9bb4
Parent 4f25e642
Child ed60b90e

Added by Katja Luther over 2 years ago

ref #7063: fix preselection of vocabulary

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/wizard/AbstractAreaSelectionWizard.java
113 113
                    if (getViewer() instanceof CheckboxTreeViewer) {
114 114
                        ((CheckboxTreeViewer)getViewer()).setChecked(element, true);
115 115
                    }else if (getViewer() instanceof CheckboxTableViewer){
116
                        ((CheckboxTreeViewer)getViewer()).setChecked(element, true);
116
                        ((CheckboxTableViewer)getViewer()).setChecked(element, true);
117 117
                    }
118 118
                }
119 119
            }
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/wizard/AvailableAreaVocabulariesPage.java
53 53
    @Override
54 54
    public void createControl(Composite parent) {
55 55
        IPreferenceStore preferenceStore = PreferencesUtil.getPreferenceStore();
56
       // String checkedValues = preferenceStore.getString(PreferencesUtil.DISTRIBUTION_AREA_OCCURENCE_STATUS);
56
        String checkedValues = preferenceStore.getString(PreferencesUtil.DISTRIBUTION_VOCABULARIES);
57 57
       // String grayedValues = preferenceStore.getString(PreferencesUtil.DISTRIBUTION_AREA_OCCURENCE_STATUS_GRAYED);
58 58
        setTitle("Select vocabularies for Distribution Editor");
59 59
        setDescription("In order to be able to modify and see the distribution status of taxa,\n"
......
96 96

  
97 97
            }
98 98
        });
99
        rememberCheckedValues(null, null);
99
        rememberCheckedValues(checkedValues, null);
100 100
        setControl(composite);
101 101

  
102 102
    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)