Eclipse PDE
Release 3.2

org.eclipse.pde.ui.launcher
Class EquinoxLaunchConfiguration

java.lang.Object
  extended byorg.eclipse.debug.core.model.LaunchConfigurationDelegate
      extended byorg.eclipse.pde.ui.launcher.AbstractPDELaunchConfiguration
          extended byorg.eclipse.pde.ui.launcher.EquinoxLaunchConfiguration
All Implemented Interfaces:
ILaunchConfigurationDelegate, ILaunchConfigurationDelegate2

public class EquinoxLaunchConfiguration
extends AbstractPDELaunchConfiguration

A launch delegate for launching the Equinox framework

Clients may subclass and instantiate this class.

Since:
3.2

Field Summary
 
Fields inherited from class org.eclipse.pde.ui.launcher.AbstractPDELaunchConfiguration
fConfigDir
 
Fields inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
complileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus
 
Constructor Summary
EquinoxLaunchConfiguration()
           
 
Method Summary
 String[] getProgramArguments(ILaunchConfiguration configuration)
          Returns the program arguments to launch with.
protected  void preLaunchCheck(ILaunchConfiguration configuration, ILaunch launch, IProgressMonitor monitor)
          checks that the target platform is >= 3.0 before proceeding.
 
Methods inherited from class org.eclipse.pde.ui.launcher.AbstractPDELaunchConfiguration
getBuildOrder, getClasspath, getConfigDir, getEnvironment, getProjectsForProblemSearch, getVMArguments, getVMRunner, getVMSpecificAttributesMap, getWorkingDirectory, launch, setDefaultSourceLocator
 
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
addReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, getBreakpoints, getLaunch, isLaunchProblem, preLaunchCheck, saveBeforeLaunch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EquinoxLaunchConfiguration

public EquinoxLaunchConfiguration()
Method Detail

getProgramArguments

public String[] getProgramArguments(ILaunchConfiguration configuration)
                             throws CoreException
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. This computation may require user interaction (i.e an answer to a question), etc. If the answer is to not proceed, then this method returns null.

Overrides:
getProgramArguments in class AbstractPDELaunchConfiguration
Parameters:
configuration - launch configuration
Returns:
the program arguments necessar for launching or null
Throws:
CoreException - if unable to retrieve the attribute or if self-hosting could not proceed due to a bad setup, missing plug-ins, inability to create the necessary configuration files.

preLaunchCheck

protected void preLaunchCheck(ILaunchConfiguration configuration,
                              ILaunch launch,
                              IProgressMonitor monitor)
                       throws CoreException
checks that the target platform is >= 3.0 before proceeding.

Specified by:
preLaunchCheck in 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 if unable to retrieve attributes from the launch configuration
See Also:
AbstractPDELaunchConfiguration.preLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration, org.eclipse.debug.core.ILaunch, org.eclipse.core.runtime.IProgressMonitor)

Eclipse PDE
Release 3.2

Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.