org.eclipse.pde.ui.launcher
Class EquinoxLaunchConfiguration
java.lang.Object
org.eclipse.debug.core.model.LaunchConfigurationDelegate
org.eclipse.pde.ui.launcher.AbstractPDELaunchConfiguration
org.eclipse.pde.ui.launcher.EquinoxLaunchConfiguration
- All Implemented Interfaces:
- ILaunchConfigurationDelegate, ILaunchConfigurationDelegate2
- public class EquinoxLaunchConfiguration
- extends AbstractPDELaunchConfiguration
A launch delegate for launching the Equinox framework
Clients may subclass and instantiate this class.
- Since:
- 3.2
Methods inherited from class org.eclipse.pde.ui.launcher.AbstractPDELaunchConfiguration |
getBuildOrder, getClasspath, getConfigDir, getEnvironment, getProjectsForProblemSearch, getVMArguments, getVMRunner, getVMSpecificAttributesMap, getWorkingDirectory, launch, setDefaultSourceLocator |
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 |
EquinoxLaunchConfiguration
public EquinoxLaunchConfiguration()
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.
preLaunchCheck
protected void preLaunchCheck(ILaunchConfiguration configuration,
ILaunch launch,
IProgressMonitor monitor)
throws CoreException
- checks that the target platform is >= 3.0 before proceeding.
- 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.