public class EclipseApplicationLaunchConfiguration extends AbstractPDELaunchConfiguration
Clients may subclass and instantiate this class.
This class originally existed in 3.2 as
org.eclipse.pde.ui.launcher.EclipseApplicationLaunchConfiguration
.
fConfigDir
complileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus
Constructor and Description |
---|
EclipseApplicationLaunchConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected void |
clear(ILaunchConfiguration configuration,
IProgressMonitor monitor)
Clears the workspace prior to launching if the workspace exists and the option to
clear it is turned on.
|
protected File |
getConfigDir(ILaunchConfiguration config)
Returns the configuration area specified by the given launch
configuration.
|
String[] |
getProgramArguments(ILaunchConfiguration configuration)
Returns the program arguments to launch with.
|
String[] |
getVMArguments(ILaunchConfiguration configuration)
Returns the VM arguments specified by the given launch configuration, as
an array of strings.
|
protected void |
preLaunchCheck(ILaunchConfiguration configuration,
ILaunch launch,
IProgressMonitor monitor)
Does sanity checking before launching.
|
getBuildOrder, getClasspath, getEnvironment, getMainClass, getProjectsForProblemSearch, getVMRunner, getVMSpecificAttributesMap, getWorkingDirectory, isLaunchProblem, launch, manageLaunch, setDefaultSourceLocator, synchronizeManifests, validatePluginDependencies, validateProjectDependencies
addReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, getBreakpoints, getLaunch, preLaunchCheck, saveBeforeLaunch
public EclipseApplicationLaunchConfiguration()
public String[] getProgramArguments(ILaunchConfiguration configuration) throws CoreException
AbstractPDELaunchConfiguration
getProgramArguments
in class AbstractPDELaunchConfiguration
configuration
- launch configurationCoreException
- if unable to retrieve the attribute or create the
necessary configuration filesprotected File getConfigDir(ILaunchConfiguration config)
AbstractPDELaunchConfiguration
getConfigDir
in class AbstractPDELaunchConfiguration
config
- launch configurationprotected void clear(ILaunchConfiguration configuration, IProgressMonitor monitor) throws CoreException
clear
in class AbstractPDELaunchConfiguration
configuration
- the launch configurationmonitor
- the progress monitorCoreException
- if unable to retrieve launch attribute valuesprotected void preLaunchCheck(ILaunchConfiguration configuration, ILaunch launch, IProgressMonitor monitor) throws CoreException
AbstractPDELaunchConfiguration
preLaunchCheck
in class AbstractPDELaunchConfiguration
configuration
- launch configurationlaunch
- the launch object to contribute processes and debug targets tomonitor
- a progress monitorCoreException
- exception thrown if launch fails or canceled or if unable to retrieve attributes
from the launch configurationpublic String[] getVMArguments(ILaunchConfiguration configuration) throws CoreException
AbstractPDELaunchConfiguration
getVMArguments
in class AbstractPDELaunchConfiguration
configuration
- launch configurationCoreException
- if unable to retrieve the attribute
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.