Revision 672874ab
Added by Patrick Plitzner about 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/matching/AbstractMatchingPreferences.java | ||
---|---|---|
17 | 17 |
import java.util.Map; |
18 | 18 |
|
19 | 19 |
import org.eclipse.jface.preference.ComboFieldEditor; |
20 |
import org.eclipse.jface.preference.FieldEditorPreferencePage; |
|
21 | 20 |
import org.eclipse.swt.widgets.Combo; |
22 |
import org.eclipse.ui.IWorkbench; |
|
23 |
import org.eclipse.ui.IWorkbenchPreferencePage; |
|
24 | 21 |
|
25 | 22 |
import eu.etaxonomy.cdm.model.common.IdentifiableEntity; |
26 | 23 |
import eu.etaxonomy.cdm.strategy.match.IMatchStrategy; |
27 | 24 |
import eu.etaxonomy.cdm.strategy.match.MatchException; |
28 | 25 |
import eu.etaxonomy.cdm.strategy.match.MatchMode; |
29 | 26 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
30 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
|
|
27 |
import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
|
|
31 | 28 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
32 | 29 |
|
33 | 30 |
/** |
... | ... | |
35 | 32 |
* @created Jan 22, 2010 |
36 | 33 |
* @version 1.0 |
37 | 34 |
*/ |
38 |
public abstract class AbstractMatchingPreferences<T extends IdentifiableEntity> extends FieldEditorPreferencePage implements |
|
39 |
IWorkbenchPreferencePage { |
|
35 |
public abstract class AbstractMatchingPreferences<T extends IdentifiableEntity> extends FieldEditorPreferencePageE4 { |
|
40 | 36 |
|
41 | 37 |
/** |
42 | 38 |
* Fields that will be excluded from the display |
... | ... | |
52 | 48 |
|
53 | 49 |
protected Map<String, Combo> matchModeCombos = new HashMap<String, Combo>(); |
54 | 50 |
|
55 |
@Override |
|
56 |
public void init(IWorkbench workbench) { |
|
57 |
setPreferenceStore(PreferencesUtil.getPreferenceStore()); |
|
58 |
} |
|
59 |
|
|
60 | 51 |
/** |
61 | 52 |
* {@inheritDoc} |
62 | 53 |
*/ |
Also available in: Unified diff
ref #7268 Implement own extension point for preferences
Conflicts:¶
eu.etaxonomy.taxeditor.workbench/fragment.e4xmi¶