Package org.eclipse.pde.launching
Class EquinoxLaunchConfiguration
- java.lang.Object
-
- org.eclipse.debug.core.model.LaunchConfigurationDelegate
-
- org.eclipse.pde.launching.AbstractPDELaunchConfiguration
-
- org.eclipse.pde.launching.EquinoxLaunchConfiguration
-
- All Implemented Interfaces:
ILaunchConfigurationDelegate,ILaunchConfigurationDelegate2
public class EquinoxLaunchConfiguration extends AbstractPDELaunchConfiguration
A launch delegate for launching the Equinox frameworkClients may subclass and instantiate this class.
This class originally existed in 3.2 as
org.eclipse.pde.ui.launcher.EquinoxLaunchConfiguration.- Since:
- 3.6
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,List<IPluginModelBase>>fAllBundles-
Fields inherited from class org.eclipse.pde.launching.AbstractPDELaunchConfiguration
fConfigDir, shouldVMAddModuleSystem
-
Fields inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
complileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus
-
-
Constructor Summary
Constructors Constructor Description EquinoxLaunchConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear(ILaunchConfiguration configuration, IProgressMonitor monitor)Clears the configuration area if the area exists and that option is selected.String[]getProgramArguments(ILaunchConfiguration configuration)Returns the program arguments to launch with.protected voidpreLaunchCheck(ILaunchConfiguration configuration, ILaunch launch, IProgressMonitor monitor)Does sanity checking before launching.protected voidvalidatePluginDependencies(ILaunchConfiguration configuration, IProgressMonitor monitor)Validates inter-bundle dependencies automatically prior to launching if that option is turned on.-
Methods inherited from class org.eclipse.pde.launching.AbstractPDELaunchConfiguration
getBuildOrder, getClasspath, getConfigDir, getEnvironment, getMainClass, getProjectsForProblemSearch, getVMArguments, getVMRunner, getVMSpecificAttributesMap, getWorkingDirectory, isLaunchProblem, launch, manageLaunch, setDefaultSourceLocator, showCommandLine, synchronizeManifests, updatePDELaunchConfigModuleSystem, validateProjectDependencies
-
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
addReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, getBreakpoints, getLaunch, preLaunchCheck, saveBeforeLaunch
-
-
-
-
Field Detail
-
fAllBundles
protected Map<String,List<IPluginModelBase>> fAllBundles
-
-
Method Detail
-
getProgramArguments
public String[] getProgramArguments(ILaunchConfiguration configuration) throws CoreException
Description copied from class:AbstractPDELaunchConfigurationReturns 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.- Overrides:
getProgramArgumentsin classAbstractPDELaunchConfiguration- Parameters:
configuration- launch configuration- Returns:
- the program arguments necessary for launching
- Throws:
CoreException- if unable to retrieve the attribute or create the necessary configuration files
-
preLaunchCheck
protected void preLaunchCheck(ILaunchConfiguration configuration, ILaunch launch, IProgressMonitor monitor) throws CoreException
Description copied from class:AbstractPDELaunchConfigurationDoes sanity checking before launching. The criteria whether the launch should proceed or not is specific to the launch configuration type.- Overrides:
preLaunchCheckin classAbstractPDELaunchConfiguration- 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 canceled or if unable to retrieve attributes from the launch configuration
-
validatePluginDependencies
protected void validatePluginDependencies(ILaunchConfiguration configuration, IProgressMonitor monitor) throws CoreException
Description copied from class:AbstractPDELaunchConfigurationValidates inter-bundle dependencies automatically prior to launching if that option is turned on.- Overrides:
validatePluginDependenciesin classAbstractPDELaunchConfiguration- Parameters:
configuration- the launch configurationmonitor- a progress monitor- Throws:
CoreException
-
clear
protected void clear(ILaunchConfiguration configuration, IProgressMonitor monitor) throws CoreException
Clears the configuration area if the area exists and that option is selected.- Overrides:
clearin classAbstractPDELaunchConfiguration- Parameters:
configuration- the launch configurationmonitor- the progress monitor- Throws:
CoreException- if unable to retrieve launch attribute values- Since:
- 3.3
-
-