Project

General

Profile

« Previous | Next » 

Revision d31115e0

Added by Niels Hoffmann over 13 years ago

added a readme file

View differences:

taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/preference/matching/ReferenceMatchingPreference.java
12 12

  
13 13
import org.eclipse.ui.IWorkbench;
14 14

  
15
import eu.etaxonomy.cdm.model.reference.ReferenceBase;
15
import eu.etaxonomy.cdm.model.reference.Reference;
16 16
import eu.etaxonomy.cdm.strategy.match.IMatchStrategy;
17 17
import eu.etaxonomy.cdm.strategy.match.MatchException;
18 18
import eu.etaxonomy.taxeditor.parser.MatchStrategyConfigurator;
......
25 25
 * @created Jan 22, 2010
26 26
 * @version 1.0
27 27
 */
28
public class ReferenceMatchingPreference extends AbstractMatchingPreferences<ReferenceBase> {
28
public class ReferenceMatchingPreference extends AbstractMatchingPreferences<Reference> {
29 29

  
30 30
	/* (non-Javadoc)
31 31
	 * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
32 32
	 */
33 33
	/** {@inheritDoc} */
34 34
	public void init(IWorkbench workbench) {
35
		clazz = ReferenceBase.class;
35
		clazz = Reference.class;
36 36
		
37 37
		try {
38 38
			matchStrategy = MatchStrategyConfigurator.ReferenceMatchStrategy();

Also available in: Unified diff