Class EMFTVMLaunchConfigurationDelegate
java.lang.Object
org.eclipse.m2m.atl.emftvm.launcher.EMFTVMLaunchConfigurationDelegate
- All Implemented Interfaces:
- org.eclipse.debug.core.model.ILaunchConfigurationDelegate
public class EMFTVMLaunchConfigurationDelegate
extends Object
implements org.eclipse.debug.core.model.ILaunchConfigurationDelegate
Launches EMFTVM transformation modules.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ModuleResolvercreateModuleResolver(String path) Creates aModuleResolverusing the comma-separated modulepath.static booleanRetrieves the boolean value ofoptionformodelNamefrommodelOptions.static intgetPort(org.eclipse.debug.core.ILaunch launch) Returns theNetworkDebuggerport.voidlaunch(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor monitor) static voidSets the boolean value ofoptionformodelNamefrommodelOptions.static voidUnsets the boolean value ofoptionformodelNamefrommodelOptions.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.debug.core.model.ILaunchConfigurationDelegateshowCommandLine
- 
Constructor Details- 
EMFTVMLaunchConfigurationDelegatepublic EMFTVMLaunchConfigurationDelegate()Creates a newEMFTVMLaunchConfigurationDelegate.
 
- 
- 
Method Details- 
launchpublic void launch(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
- launchin interface- org.eclipse.debug.core.model.ILaunchConfigurationDelegate
- Throws:
- org.eclipse.core.runtime.CoreException
 
- 
getBoolOptionpublic static boolean getBoolOption(Map<String, String> modelOptions, String modelName, String option) Retrieves the boolean value ofoptionformodelNamefrommodelOptions.- Parameters:
- modelOptions- the model options map
- modelName- the model name
- option- the option to retrieve
- Returns:
- the option value
 
- 
setBoolOptionSets the boolean value ofoptionformodelNamefrommodelOptions.- Parameters:
- modelOptions- the model options map
- modelName- the model name
- option- the option to set
 
- 
unsetBoolOptionpublic static void unsetBoolOption(Map<String, String> modelOptions, String modelName, String option) Unsets the boolean value ofoptionformodelNamefrommodelOptions.- Parameters:
- modelOptions- the model options map
- modelName- the model name
- option- the option to unset
 
- 
getPortpublic static int getPort(org.eclipse.debug.core.ILaunch launch) throws org.eclipse.core.runtime.CoreException Returns theNetworkDebuggerport.- Parameters:
- launch- the launch object
- Returns:
- the NetworkDebuggerport.
- Throws:
- org.eclipse.core.runtime.CoreException
 
- 
createModuleResolverCreates aModuleResolverusing the comma-separated modulepath.- Parameters:
- path- the module path
- Returns:
- the ModuleResolver.
 
 
-