|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.debug.core.model.LaunchConfigurationDelegate
org.eclipse.cdt.launch.AbstractCLaunchDelegate
public abstract class AbstractCLaunchDelegate
Constructor Summary | |
---|---|
AbstractCLaunchDelegate()
|
Method Summary | |
---|---|
boolean |
buildForLaunch(org.eclipse.debug.core.ILaunchConfiguration configuration,
java.lang.String mode,
org.eclipse.core.runtime.IProgressMonitor monitor)
Builds the current project and all of it's prerequisite projects if necessary. |
boolean |
finalLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration configuration,
java.lang.String mode,
org.eclipse.core.runtime.IProgressMonitor monitor)
Searches for compile errors in the current project and any of its prerequisite projects. |
static org.eclipse.cdt.core.model.ICProject |
getCProject(org.eclipse.debug.core.ILaunchConfiguration configuration)
|
java.lang.String |
getProgramArguments(org.eclipse.debug.core.ILaunchConfiguration config)
Returns the program arguments as a String. |
java.lang.String[] |
getProgramArgumentsArray(org.eclipse.debug.core.ILaunchConfiguration config)
Returns the program arguments as an array of individual arguments. |
static java.lang.String |
getProgramName(org.eclipse.debug.core.ILaunchConfiguration configuration)
|
static org.eclipse.core.runtime.IPath |
getProgramPath(org.eclipse.debug.core.ILaunchConfiguration configuration)
|
static java.lang.String |
getProjectName(org.eclipse.debug.core.ILaunchConfiguration configuration)
|
java.io.File |
getWorkingDir(org.eclipse.debug.core.ILaunchConfiguration configuration)
Deprecated. Should use getWorkingDirectory() |
java.io.File |
getWorkingDirectory(org.eclipse.debug.core.ILaunchConfiguration configuration)
Returns the working directory specified by the given launch configuration, or null if none. |
abstract void |
launch(org.eclipse.debug.core.ILaunchConfiguration configuration,
java.lang.String mode,
org.eclipse.debug.core.ILaunch launch,
org.eclipse.core.runtime.IProgressMonitor monitor)
|
boolean |
preLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration configuration,
java.lang.String mode,
org.eclipse.core.runtime.IProgressMonitor monitor)
|
java.io.File |
verifyWorkingDirectory(org.eclipse.debug.core.ILaunchConfiguration configuration)
Verifies the working directory specified by the given launch configuration exists, and returns the working directory, or null if none is specified. |
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate |
---|
getLaunch |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCLaunchDelegate()
Method Detail |
---|
public abstract 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
org.eclipse.core.runtime.CoreException
public java.io.File getWorkingDir(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException
null
if none.
configuration
- launch configuration
null
if none
org.eclipse.core.runtime.CoreException
- if unable to retrieve the attributepublic java.io.File getWorkingDirectory(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException
null
if none.
configuration
- launch configuration
null
if none
org.eclipse.core.runtime.CoreException
- if unable to retrieve the attributepublic static org.eclipse.cdt.core.model.ICProject getCProject(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static java.lang.String getProjectName(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static java.lang.String getProgramName(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static org.eclipse.core.runtime.IPath getProgramPath(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public java.lang.String getProgramArguments(org.eclipse.debug.core.ILaunchConfiguration config) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public java.lang.String[] getProgramArgumentsArray(org.eclipse.debug.core.ILaunchConfiguration config) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public java.io.File verifyWorkingDirectory(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException
null
if none is specified.
configuration
- launch configuration
null
if none
org.eclipse.core.runtime.CoreException
- if unable to retrieve the attributepublic boolean buildForLaunch(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String mode, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
buildForLaunch
in interface org.eclipse.debug.core.model.ILaunchConfigurationDelegate2
buildForLaunch
in class org.eclipse.debug.core.model.LaunchConfigurationDelegate
configuration
- the configuration being launchedmode
- the mode the configuration is being launched inmonitor
- progress monitor
org.eclipse.core.runtime.CoreException
- if an exception occurrs while buildingpublic boolean finalLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String mode, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
finalLaunchCheck
in interface org.eclipse.debug.core.model.ILaunchConfigurationDelegate2
finalLaunchCheck
in class org.eclipse.debug.core.model.LaunchConfigurationDelegate
configuration
- mode
- monitor
-
org.eclipse.core.runtime.CoreException
- if an exception occurs while checking for compile errors.public boolean preLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String mode, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
preLaunchCheck
in interface org.eclipse.debug.core.model.ILaunchConfigurationDelegate2
preLaunchCheck
in class org.eclipse.debug.core.model.LaunchConfigurationDelegate
org.eclipse.core.runtime.CoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |