Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Wagelaar2017-06-20 15:34:36 -0400
committerDennis Wagelaar2017-06-20 15:34:36 -0400
commit429139911f844674109493d5b31f89b944d91640 (patch)
tree1f96a430ef259d02f68a58eee606a0514d86fee9
parentede36eaf7fa7d50875cbf81650e86755c8892d69 (diff)
downloadorg.eclipse.atl-429139911f844674109493d5b31f89b944d91640.tar.gz
org.eclipse.atl-429139911f844674109493d5b31f89b944d91640.tar.xz
org.eclipse.atl-429139911f844674109493d5b31f89b944d91640.zip
EMFTVM compatibility launcher.EMFTVM_Compat
-rw-r--r--plugins/org.eclipse.m2m.atl.common/src/org/eclipse/m2m/atl/common/ATLLaunchConstants.java3
-rw-r--r--plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/launcher/compat/EMFTVMLauncher.java6
2 files changed, 5 insertions, 4 deletions
diff --git a/plugins/org.eclipse.m2m.atl.common/src/org/eclipse/m2m/atl/common/ATLLaunchConstants.java b/plugins/org.eclipse.m2m.atl.common/src/org/eclipse/m2m/atl/common/ATLLaunchConstants.java
index 88289900..a1826c79 100644
--- a/plugins/org.eclipse.m2m.atl.common/src/org/eclipse/m2m/atl/common/ATLLaunchConstants.java
+++ b/plugins/org.eclipse.m2m.atl.common/src/org/eclipse/m2m/atl/common/ATLLaunchConstants.java
@@ -29,6 +29,9 @@ public interface ATLLaunchConstants {
/** EMF VM name, for default values. */
String EMF_VM_NAME = "EMF-specific VM"; //$NON-NLS-1$
+ /** EMF VM name, for default values. */
+ String EMFTVM_NAME = "EMFTVM"; //$NON-NLS-1$
+
/** Default model handler name. */
String DEFAULT_MODEL_HANDLER_NAME = "EMF"; //$NON-NLS-1$
diff --git a/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/launcher/compat/EMFTVMLauncher.java b/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/launcher/compat/EMFTVMLauncher.java
index 0f8d8c96..aba3b72a 100644
--- a/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/launcher/compat/EMFTVMLauncher.java
+++ b/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/launcher/compat/EMFTVMLauncher.java
@@ -24,6 +24,7 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.m2m.atl.common.ATLLaunchConstants;
import org.eclipse.m2m.atl.common.ATLLogger;
import org.eclipse.m2m.atl.core.ATLCoreException;
import org.eclipse.m2m.atl.core.IModel;
@@ -55,9 +56,6 @@ import org.eclipse.m2m.atl.emftvm.util.VMMonitor;
*/
public class EMFTVMLauncher implements ILauncher {
- /** The {@link ILauncher} extension name. */
- public static final String LAUNCHER_NAME = "EMFTVM (Compatibility)"; //$NON-NLS-1$
-
/** The Default model factory name to use. */
public static final String MODEL_FACTORY_NAME = "EMF"; //$NON-NLS-1$
@@ -81,7 +79,7 @@ public class EMFTVMLauncher implements ILauncher {
* {@inheritDoc}
*/
public String getName() {
- return LAUNCHER_NAME;
+ return ATLLaunchConstants.EMFTVM_NAME;
}
/**

Back to the top