|
Eclipse PDE Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.debug.core.model.LaunchConfigurationDelegate
org.eclipse.pde.launching.AbstractPDELaunchConfiguration
org.eclipse.pde.launching.EclipseApplicationLaunchConfiguration
public class EclipseApplicationLaunchConfiguration
A launch delegate for launching Eclipse applications
Clients may subclass and instantiate this class.
This class originally existed in 3.2 as
org.eclipse.pde.ui.launcher.EclipseApplicationLaunchConfiguration
.
Field Summary |
---|
Fields inherited from class org.eclipse.pde.launching.AbstractPDELaunchConfiguration |
---|
fConfigDir |
Fields inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate |
---|
complileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus |
Constructor Summary | |
---|---|
EclipseApplicationLaunchConfiguration()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.pde.launching.AbstractPDELaunchConfiguration |
---|
getBuildOrder, getClasspath, getEnvironment, getMainClass, getProjectsForProblemSearch, getVMRunner, getVMSpecificAttributesMap, getWorkingDirectory, isLaunchProblem, launch, manageLaunch, setDefaultSourceLocator, synchronizeManifests, validatePluginDependencies, validateProjectDependencies |
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate |
---|
addReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, getBreakpoints, getLaunch, preLaunchCheck, saveBeforeLaunch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EclipseApplicationLaunchConfiguration()
Method Detail |
---|
public String[] getProgramArguments(ILaunchConfiguration configuration) throws CoreException
AbstractPDELaunchConfiguration
getProgramArguments
in class AbstractPDELaunchConfiguration
configuration
- launch configuration
CoreException
- if unable to retrieve the attribute or create the
necessary configuration filesprotected File getConfigDir(ILaunchConfiguration config)
AbstractPDELaunchConfiguration
getConfigDir
in class AbstractPDELaunchConfiguration
config
- launch configuration
protected void clear(ILaunchConfiguration configuration, IProgressMonitor monitor) throws CoreException
clear
in class AbstractPDELaunchConfiguration
configuration
- the launch configurationmonitor
- the progress monitor
CoreException
- 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 monitor
CoreException
- 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 configuration
CoreException
- if unable to retrieve the attribute
|
Eclipse PDE Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2010 IBM Corporation and others. All rights reserved.