Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/migration/org.eclipse.papyrus.migration.common/src/org/eclipse/papyrus/migration/common/transformation/IImportTransformationLauncher.java')
-rw-r--r--extraplugins/migration/org.eclipse.papyrus.migration.common/src/org/eclipse/papyrus/migration/common/transformation/IImportTransformationLauncher.java39
1 files changed, 39 insertions, 0 deletions
diff --git a/extraplugins/migration/org.eclipse.papyrus.migration.common/src/org/eclipse/papyrus/migration/common/transformation/IImportTransformationLauncher.java b/extraplugins/migration/org.eclipse.papyrus.migration.common/src/org/eclipse/papyrus/migration/common/transformation/IImportTransformationLauncher.java
new file mode 100644
index 00000000000..7d0e4663f86
--- /dev/null
+++ b/extraplugins/migration/org.eclipse.papyrus.migration.common/src/org/eclipse/papyrus/migration/common/transformation/IImportTransformationLauncher.java
@@ -0,0 +1,39 @@
+/*****************************************************************************
+ * Copyright (c) 2014, 2016 CEA LIST, Christian W. Damus, and others.
+ *
+ * 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.migration.common.transformation;
+
+import java.util.List;
+
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.emf.common.util.URI;
+
+/**
+ * @author Vincent Lorenzo
+ *
+ */
+public interface IImportTransformationLauncher {
+
+ /**
+ * Executes the transformation (Asynchronous)
+ *
+ * @param urisToImport
+ */
+ public void run(List<URI> urisToImport);
+
+ /** Mainly for test purpose */
+ public void waitForCompletion() throws Exception;
+
+ /** Mainly for test purpose */
+ public IStatus getResult();
+
+}

Back to the top