Revision e3a4a3ff
Added by Andreas Müller almost 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/matching/NonViralNameMatchingPreference.java | ||
---|---|---|
11 | 11 |
|
12 | 12 |
import org.eclipse.ui.IWorkbench; |
13 | 13 |
|
14 |
import eu.etaxonomy.cdm.model.name.NonViralName; |
|
14 |
import eu.etaxonomy.cdm.model.name.INonViralName; |
|
15 |
import eu.etaxonomy.cdm.model.name.TaxonName; |
|
15 | 16 |
import eu.etaxonomy.cdm.strategy.match.IMatchStrategy; |
16 | 17 |
import eu.etaxonomy.cdm.strategy.match.MatchException; |
17 | 18 |
import eu.etaxonomy.cdm.strategy.match.MatchStrategyConfigurator; |
... | ... | |
22 | 23 |
* |
23 | 24 |
* @author n.hoffmann |
24 | 25 |
* @created Jan 22, 2010 |
25 |
* @version 1.0 |
|
26 | 26 |
*/ |
27 |
public class NonViralNameMatchingPreference extends AbstractMatchingPreferences<NonViralName>{
|
|
27 |
public class NonViralNameMatchingPreference extends AbstractMatchingPreferences<TaxonName>{
|
|
28 | 28 |
|
29 | 29 |
/** {@inheritDoc} */ |
30 | 30 |
@Override |
31 | 31 |
public void init(IWorkbench workbench) { |
32 | 32 |
super.init(workbench); |
33 |
clazz = NonViralName.class;
|
|
33 |
clazz = TaxonName.class;
|
|
34 | 34 |
|
35 | 35 |
try { |
36 | 36 |
matchStrategy = MatchStrategyConfigurator.NonViralNameMatchStrategy(); |
Also available in: Unified diff
ref #6446 merge taxon name subclasses in TaxEditor