org.eclipse.m2m.atl.adt.launching
Class AtlRegularVM

java.lang.Object
  extended by org.eclipse.m2m.atl.adt.launching.AtlVM
      extended by org.eclipse.m2m.atl.adt.launching.AtlRegularVM
All Implemented Interfaces:
org.eclipse.debug.core.model.ILaunchConfigurationDelegate

public class AtlRegularVM
extends AtlVM


Field Summary
 
Fields inherited from class org.eclipse.m2m.atl.adt.launching.AtlVM
ATLVM_REGULAR, logger
 
Constructor Summary
AtlRegularVM()
           
 
Method Summary
 void launch(org.eclipse.debug.core.ILaunchConfiguration configurationParam, java.lang.String mode, org.eclipse.debug.core.ILaunch launchParam, org.eclipse.core.runtime.IProgressMonitor monitor)
          Launches the given configuration in the specified mode, contributing debug targets to the given launch object.
 java.lang.Object launch(java.net.URL asmUrl, java.util.Map libs, java.util.Map models, java.util.Map params, java.util.List superimps, java.util.Map options)
           
static java.util.Map runAtlLauncher(java.lang.String filePath, java.util.Map libsFromConfig, java.util.Map input, java.util.Map output, java.util.Map path, java.util.Map modelType, java.util.Map modelHandler, java.lang.String mode, java.util.List superimpose, java.util.Map options)
           
 
Methods inherited from class org.eclipse.m2m.atl.adt.launching.AtlVM
getVM, getVMs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtlRegularVM

public AtlRegularVM()
Method Detail

runAtlLauncher

public static java.util.Map runAtlLauncher(java.lang.String filePath,
                                           java.util.Map libsFromConfig,
                                           java.util.Map input,
                                           java.util.Map output,
                                           java.util.Map path,
                                           java.util.Map modelType,
                                           java.util.Map modelHandler,
                                           java.lang.String mode,
                                           java.util.List superimpose,
                                           java.util.Map options)
Parameters:
filePath - path of the ATL Transformation
input - Map {model_input --> metamodel_input}
output - Map {model_output --> metamodel_output}
path - Map {model_name --> URI}
modelType - Map {model_name --> type if the model(mIn, mmIn, ...)}
modelHandler - MDR, UML2 or EMF
mode - DEBUG or RUN
libsFromConfig - Map {lib_name --> URI}
superimpose - list of module URIs to superimpose

launch

public void launch(org.eclipse.debug.core.ILaunchConfiguration configurationParam,
                   java.lang.String mode,
                   org.eclipse.debug.core.ILaunch launchParam,
                   org.eclipse.core.runtime.IProgressMonitor monitor)
            throws org.eclipse.core.runtime.CoreException
Launches the given configuration in the specified mode, contributing debug targets to the given launch object. The launch object has already been registered with the launch manager.

Parameters:
configurationParam - the configuration to launch
mode - the mode in which to launch, one of the mode constants defined by ILaunchManager - RUN_MODE or DEBUG_MODE.
launchParam - the launch object to contribute processes and debug targets to
monitor - progress monitor, not is used here
Throws:
org.eclipse.core.runtime.CoreException - if launching fails
See Also:
ILaunchConfigurationDelegate.launch(ILaunchConfiguration, String, ILaunch, IProgressMonitor)

launch

public java.lang.Object launch(java.net.URL asmUrl,
                               java.util.Map libs,
                               java.util.Map models,
                               java.util.Map params,
                               java.util.List superimps,
                               java.util.Map options)
Specified by:
launch in class AtlVM

Copyright 2007 IBM Corporation and others.
All Rights Reserved.