Package org.eclipse.pde.ui.launcher
Class EclipseApplicationLaunchConfiguration
- java.lang.Object
-
- org.eclipse.debug.core.model.LaunchConfigurationDelegate
-
- org.eclipse.pde.launching.AbstractPDELaunchConfiguration
-
- org.eclipse.pde.ui.launcher.AbstractPDELaunchConfiguration
-
- org.eclipse.pde.ui.launcher.EclipseApplicationLaunchConfiguration
-
- All Implemented Interfaces:
ILaunchConfigurationDelegate
,ILaunchConfigurationDelegate2
@Deprecated public class EclipseApplicationLaunchConfiguration extends AbstractPDELaunchConfiguration
Deprecated.A launch delegate for launching Eclipse applicationsClients may subclass and instantiate this class.
- Since:
- 3.2
- See Also:
AbstractPDELaunchConfiguration
- Restriction:
- This method is planned for removal. See bug 564563 for details.
- Restriction:
- This method is planned for removal. See bug 564563 for details.
-
-
Field Summary
-
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 EclipseApplicationLaunchConfiguration()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
clear(ILaunchConfiguration configuration, IProgressMonitor monitor)
Deprecated.Clears the workspace prior to launching if the workspace exists and the option to clear it is turned on.protected File
getConfigDir(ILaunchConfiguration config)
Deprecated.Returns the configuration area specified by the given launch configuration.String[]
getProgramArguments(ILaunchConfiguration configuration)
Deprecated.Returns the program arguments to launch with.String[]
getVMArguments(ILaunchConfiguration configuration)
Deprecated.Returns the VM arguments specified by the given launch configuration, as an array of strings.protected void
preLaunchCheck(ILaunchConfiguration configuration, ILaunch launch, IProgressMonitor monitor)
Deprecated.Does sanity checking before launching.-
Methods inherited from class org.eclipse.pde.launching.AbstractPDELaunchConfiguration
getBuildOrder, getClasspath, getEnvironment, getMainClass, getProjectsForProblemSearch, getVMRunner, getVMSpecificAttributesMap, getWorkingDirectory, isLaunchProblem, launch, manageLaunch, setDefaultSourceLocator, showCommandLine, synchronizeManifests, updatePDELaunchConfigModuleSystem, validatePluginDependencies, validateProjectDependencies
-
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
addReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, getBreakpoints, getLaunch, preLaunchCheck, saveBeforeLaunch
-
-
-
-
Method Detail
-
getProgramArguments
public String[] getProgramArguments(ILaunchConfiguration configuration) throws CoreException
Deprecated.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.- Overrides:
getProgramArguments
in 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
-
getConfigDir
protected File getConfigDir(ILaunchConfiguration config)
Deprecated.Description copied from class:AbstractPDELaunchConfiguration
Returns the configuration area specified by the given launch configuration.- Overrides:
getConfigDir
in classAbstractPDELaunchConfiguration
- Parameters:
config
- launch configuration- Returns:
- the directory path specified by the given launch configuration
-
clear
protected void clear(ILaunchConfiguration configuration, IProgressMonitor monitor) throws CoreException
Deprecated.Clears the workspace prior to launching if the workspace exists and the option to clear it is turned on. Also clears the configuration area if that option is chosen.- Overrides:
clear
in classAbstractPDELaunchConfiguration
- Parameters:
configuration
- the launch configurationmonitor
- the progress monitor- Throws:
CoreException
- if unable to retrieve launch attribute values or the clear operation was cancelled- Since:
- 3.3
-
preLaunchCheck
protected void preLaunchCheck(ILaunchConfiguration configuration, ILaunch launch, IProgressMonitor monitor) throws CoreException
Deprecated.Description copied from class:AbstractPDELaunchConfiguration
Does sanity checking before launching. The criteria whether the launch should proceed or not is specific to the launch configuration type.- Overrides:
preLaunchCheck
in 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
-
getVMArguments
public String[] getVMArguments(ILaunchConfiguration configuration) throws CoreException
Deprecated.Description copied from class:AbstractPDELaunchConfiguration
Returns the VM arguments specified by the given launch configuration, as an array of strings.- Overrides:
getVMArguments
in classAbstractPDELaunchConfiguration
- Parameters:
configuration
- launch configuration- Returns:
- the VM arguments specified by the given launch configuration, possibly an empty array
- Throws:
CoreException
- if unable to retrieve the attribute
-
-