org.eclipse.m2m.atl.core.ui.launch
Class AtlLaunchConfigurationDelegate

java.lang.Object
  extended by org.eclipse.debug.core.model.LaunchConfigurationDelegate
      extended by org.eclipse.m2m.atl.core.ui.launch.AtlLaunchConfigurationDelegate
All Implemented Interfaces:
org.eclipse.debug.core.model.ILaunchConfigurationDelegate, org.eclipse.debug.core.model.ILaunchConfigurationDelegate2

public class AtlLaunchConfigurationDelegate
extends org.eclipse.debug.core.model.LaunchConfigurationDelegate

The method "launch" is launched when you click on the button "Run" or "Debug".


Field Summary
 
Fields inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
complileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus
 
Constructor Summary
AtlLaunchConfigurationDelegate()
           
 
Method Summary
static java.lang.String convertPath(java.lang.String path)
          Convert "launch configuration style" paths to EMF uris: ext:path => file:path (file system resource) uri:uri => uri (EMF uri) path => platform:/resource/path (workspace resource) Unchanged paths: platform:/plugin/path (plugin resource) pathmap:path (pathmap resource, e.g.
static java.util.Map<java.lang.String,java.lang.String> convertPaths(java.util.Map<java.lang.String,java.lang.String> modelPaths)
          Convert model map paths.
static org.eclipse.core.resources.IFile getFileFromModuleName(java.lang.String moduleName)
          Returns the file matching the given module name.
 void launch(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor monitor)
          
 
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
addReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, getBreakpoints, getBuildOrder, getLaunch, getProjectsForProblemSearch, isLaunchProblem, preLaunchCheck, saveBeforeLaunch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtlLaunchConfigurationDelegate

public AtlLaunchConfigurationDelegate()
Method Detail

launch

public void launch(org.eclipse.debug.core.ILaunchConfiguration configuration,
                   java.lang.String mode,
                   org.eclipse.debug.core.ILaunch launch,
                   org.eclipse.core.runtime.IProgressMonitor monitor)
            throws org.eclipse.core.runtime.CoreException

Throws:
org.eclipse.core.runtime.CoreException
See Also:
ILaunchConfigurationDelegate.launch(org.eclipse.debug.core.ILaunchConfiguration, java.lang.String, org.eclipse.debug.core.ILaunch, org.eclipse.core.runtime.IProgressMonitor)

getFileFromModuleName

public static org.eclipse.core.resources.IFile getFileFromModuleName(java.lang.String moduleName)
Returns the file matching the given module name.

Parameters:
moduleName - the module name
Returns:
the file

convertPaths

public static java.util.Map<java.lang.String,java.lang.String> convertPaths(java.util.Map<java.lang.String,java.lang.String> modelPaths)
Convert model map paths.

Parameters:
modelPaths - the model path map
Returns:
the converted map

convertPath

public static java.lang.String convertPath(java.lang.String path)
Convert "launch configuration style" paths to EMF uris: Unchanged paths:

Parameters:
path - the path as created by the launchConfiguration
Returns:
the converted path

Copyright 2007 IBM Corporation and others.
All Rights Reserved.