org.eclipse.pde.ui.launcher
Class EclipseApplicationLaunchConfiguration
java.lang.Object
org.eclipse.debug.core.model.LaunchConfigurationDelegate
org.eclipse.pde.ui.launcher.AbstractPDELaunchConfiguration
org.eclipse.pde.ui.launcher.EclipseApplicationLaunchConfiguration
- All Implemented Interfaces:
- ILaunchConfigurationDelegate, ILaunchConfigurationDelegate2
- public class EclipseApplicationLaunchConfiguration
- extends AbstractPDELaunchConfiguration
A launch delegate for launching Eclipse applications
Clients may subclass and instantiate this class.
- Since:
- 3.2
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate |
addReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, getBreakpoints, getLaunch, isLaunchProblem, preLaunchCheck, saveBeforeLaunch |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EclipseApplicationLaunchConfiguration
public EclipseApplicationLaunchConfiguration()
getProgramArguments
public String[] getProgramArguments(ILaunchConfiguration configuration)
throws CoreException
- Description copied from class:
AbstractPDELaunchConfiguration
- Returns the program arguments to launch with.
This list is a combination of arguments computed by PDE based on attributes
specified in the given launch configuration, followed by the program arguments
that the entered directly into the launch configuration.
This computation may require user interaction (i.e an answer to a question), etc.
If the answer is to not proceed, then this method returns null.
- Overrides:
getProgramArguments
in class AbstractPDELaunchConfiguration
- Parameters:
configuration
- launch configuration
- Returns:
- the program arguments necessar for launching
or
null
- Throws:
CoreException
- if unable to retrieve the attribute or if self-hosting could not
proceed due to a bad setup, missing plug-ins, inability to create the
necessary configuration files.
getConfigDir
protected File getConfigDir(ILaunchConfiguration config)
- Description copied from class:
AbstractPDELaunchConfiguration
- Returns the configuration area specified by the given launch
configuration.
- Overrides:
getConfigDir
in class AbstractPDELaunchConfiguration
- Parameters:
config
- launch configuration
- Returns:
- the directory path specified by the given launch
configuration
preLaunchCheck
protected void preLaunchCheck(ILaunchConfiguration configuration,
ILaunch launch,
IProgressMonitor monitor)
throws CoreException
- Prompts and clears the workspace area and/or the configuration area, if appropriate
- Specified by:
preLaunchCheck
in class AbstractPDELaunchConfiguration
- Parameters:
configuration
- launch configurationlaunch
- the launch object to contribute processes and debug targets tomonitor
- a progress monitor
- Throws:
CoreException
- exception thrown if launch fails or if unable to retrieve attributes
from the launch configuration- See Also:
AbstractPDELaunchConfiguration.preLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration, org.eclipse.debug.core.ILaunch, org.eclipse.core.runtime.IProgressMonitor)
Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.