Revision 3401aff4
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/preference/BulkEditorMarkerPreferencePage.java | ||
---|---|---|
15 | 15 |
import org.eclipse.ui.IWorkbenchPreferencePage; |
16 | 16 |
|
17 | 17 |
import eu.etaxonomy.cdm.model.common.MarkerType; |
18 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
|
19 | 18 |
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys; |
20 | 19 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
21 | 20 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
... | ... | |
32 | 31 |
@Override |
33 | 32 |
public void init(IWorkbench workbench) { |
34 | 33 |
setPreferenceStore(PreferencesUtil.getPreferenceStore()); |
35 |
if(!CdmStore.isActive()) { |
|
36 |
MessagingUtils.noDataSourceWarningDialog(null); |
|
37 |
} |
|
38 | 34 |
} |
39 | 35 |
|
40 | 36 |
@Override |
Also available in: Unified diff
ref #7006 Avoid multiple warnings when opening prefs with no session