Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/src/org/eclipse/papyrus/uml/compare/diff/services/nested/NestedMatchService.java')
-rw-r--r--extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/src/org/eclipse/papyrus/uml/compare/diff/services/nested/NestedMatchService.java59
1 files changed, 0 insertions, 59 deletions
diff --git a/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/src/org/eclipse/papyrus/uml/compare/diff/services/nested/NestedMatchService.java b/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/src/org/eclipse/papyrus/uml/compare/diff/services/nested/NestedMatchService.java
deleted file mode 100644
index 19235d99e6e..00000000000
--- a/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/src/org/eclipse/papyrus/uml/compare/diff/services/nested/NestedMatchService.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.compare.diff.services.nested;
-
-import java.util.Map;
-
-import org.eclipse.emf.compare.match.engine.IMatchEngine;
-import org.eclipse.emf.compare.match.metamodel.MatchModel;
-import org.eclipse.emf.ecore.EObject;
-
-//replace MatchService
-public class NestedMatchService {
-
- /**
- * Utility classes don't need to (and shouldn't) be instantiated.
- */
- private NestedMatchService() {
- // prevents instantiation
- }
-
- /**
- * Matches three objects along with their content, then return the corresponding match model.
- *
- * @param leftObject
- * Left (local) of the three objects to get compared.
- * @param rightObject
- * Right (latest from repository) of the three objects to compare.
- * @param ancestor
- * Common ancestor of the two others.
- * @param options
- * Options to tweak the matching procedure. <code>null</code> or an empty map will result in
- * the default options to be used.
- * @return {@link MatchModel} for these three objects' comparison.
- * @throws InterruptedException
- * Thrown if the matching is interrupted somehow.
- * @see org.eclipse.emf.compare.match.MatchOptions
- * @see IMatchEngine#contentMatch(EObject, EObject, EObject, Map)
- *
- */
- public static MatchModel doContentMatch(EObject leftObject, EObject rightObject, Map<String, Object> options) throws InterruptedException {
- final IMatchEngine engine = new UMLMatchEngine();
- final MatchModel result = engine.contentMatch(leftObject, rightObject, options);
- engine.reset();
- return result;
- }
-
-
-}

Back to the top