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.AbstractPDELaunchConfigurationfConfigDir, shouldVMAddModuleSystem
 - 
Fields inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegatecomplileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus
 
- 
 - 
Constructor SummaryConstructors Constructor Description EclipseApplicationLaunchConfiguration()Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidclear(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 FilegetConfigDir(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 voidpreLaunchCheck(ILaunchConfiguration configuration, ILaunch launch, IProgressMonitor monitor)Deprecated.Does sanity checking before launching.- 
Methods inherited from class org.eclipse.pde.launching.AbstractPDELaunchConfigurationgetBuildOrder, 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.LaunchConfigurationDelegateaddReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, getBreakpoints, getLaunch, preLaunchCheck, saveBeforeLaunch
 
- 
 
- 
- 
- 
Method Detail- 
getProgramArgumentspublic String[] getProgramArguments(ILaunchConfiguration configuration) throws CoreException Deprecated.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 class- AbstractPDELaunchConfiguration
- 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
 
 - 
getConfigDirprotected File getConfigDir(ILaunchConfiguration config) Deprecated.Description copied from class:AbstractPDELaunchConfigurationReturns the configuration area specified by the given launch configuration.- Overrides:
- getConfigDirin class- AbstractPDELaunchConfiguration
- Parameters:
- config- launch configuration
- Returns:
- the directory path specified by the given launch configuration
 
 - 
clearprotected 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:
- clearin class- AbstractPDELaunchConfiguration
- Parameters:
- configuration- the launch configuration
- monitor- the progress monitor
- Throws:
- CoreException- if unable to retrieve launch attribute values or the clear operation was cancelled
- Since:
- 3.3
 
 - 
preLaunchCheckprotected void preLaunchCheck(ILaunchConfiguration configuration, ILaunch launch, IProgressMonitor monitor) throws CoreException Deprecated.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 class- AbstractPDELaunchConfiguration
- Parameters:
- configuration- launch configuration
- launch- the launch object to contribute processes and debug targets to
- monitor- a progress monitor
- Throws:
- CoreException- exception thrown if launch fails or canceled or if unable to retrieve attributes from the launch configuration
 
 - 
getVMArgumentspublic String[] getVMArguments(ILaunchConfiguration configuration) throws CoreException Deprecated.Description copied from class:AbstractPDELaunchConfigurationReturns the VM arguments specified by the given launch configuration, as an array of strings.- Overrides:
- getVMArgumentsin class- AbstractPDELaunchConfiguration
- 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
 
 
- 
 
-