Project

General

Profile

« Previous | Next » 

Revision 703e8efc

Added by Cherian Mathew about 9 years ago

CdmRemoteCacheManager : added cache getter methods
CdmTransientEntityCacher, CdmEntitySession, CdmEntitySessionManager, ICdmEntitySession, ICdmEntitySessionManager, ICdmEntitySessionManagerObserver, MockCdmEntitySession, MockCdmEntitySessionManager , eu.etaxonomy.taxeditor.cdmlib/src/main/resources/cdmlib-ehcache.xml : added statistics config , getter method for live stats and observer to update when sessions are bound and disposed
eu.etaxonomy.taxeditor.store/plugin.xml, SessionsViewPart : added new sessions debug view
MatchStrategyConfigurator : moved to cdmlib
ParseHandler, AbstractMatchingPreferences, NonViralNameMatchingPreference, ReferenceMatchingPreference, TeamOrPersonMatchingPreference : refactored after removal of MatchStrategyConfigurator replaced by enum MatchStrategy

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/matching/NonViralNameMatchingPreference.java
1 1
// $Id$
2 2
/**
3 3
* Copyright (C) 2007 EDIT
4
* European Distributed Institute of Taxonomy 
4
* European Distributed Institute of Taxonomy
5 5
* http://www.e-taxonomy.eu
6
* 
6
*
7 7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8 8
* See LICENSE.TXT at the top of this package for the full license terms.
9 9
*/
......
15 15
import eu.etaxonomy.cdm.model.name.NonViralName;
16 16
import eu.etaxonomy.cdm.strategy.match.IMatchStrategy;
17 17
import eu.etaxonomy.cdm.strategy.match.MatchException;
18
import eu.etaxonomy.cdm.strategy.match.MatchStrategyConfigurator;
18 19
import eu.etaxonomy.taxeditor.model.MessagingUtils;
19
import eu.etaxonomy.taxeditor.parser.MatchStrategyConfigurator;
20 20

  
21 21
/**
22 22
 * <p>NonViralNameMatchingPreference class.</p>
......
31 31
	 * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
32 32
	 */
33 33
	/** {@inheritDoc} */
34
	public void init(IWorkbench workbench) {
34
	@Override
35
    public void init(IWorkbench workbench) {
35 36
		clazz = NonViralName.class;
36
		
37

  
37 38
		try {
38 39
			matchStrategy = MatchStrategyConfigurator.NonViralNameMatchStrategy();
39 40
		} catch (MatchException e) {
......
41 42
			throw new RuntimeException(e);
42 43
		}
43 44
	}
44
	
45

  
45 46
	/* (non-Javadoc)
46 47
	 * @see eu.etaxonomy.taxeditor.preference.matching.AbstractMatchingPreferences#getDefaultMatchStrategy()
47 48
	 */

Also available in: Unified diff