Uses of Interface
org.eclipse.debug.core.ILaunchConfiguration
Package
Description
Provides support for launching programs, breakpoint management, expression management,
and debug events.
Defines interfaces for debug model elements, source lookup, and launching.
Provides support for source lookup.
Provides implementations of common source containers supporting source lookup.
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
Provides a set of actions related to running and debugging applications.
Provides a user interface for debug platform source lookup facilities.
-
Uses of ILaunchConfiguration in org.eclipse.debug.core
Modifier and TypeInterfaceDescriptioninterface
An editable copy of a launch configuration.Modifier and TypeMethodDescriptionILaunchConfigurationWorkingCopy.doSave()
Saves this working copy to its underlying file and returns a handle to the resulting launch configuration.ILaunchConfigurationWorkingCopy.doSave
(int flag) Saves this working copy to its underlying file and returns a handle to the resulting launch configuration.ILaunch.getLaunchConfiguration()
Returns the configuration that was launched, ornull
if no configuration was launched.ILaunchManager.getLaunchConfiguration
(String memento) Returns a handle to the launch configuration specified by the given memento.ILaunchManager.getLaunchConfiguration
(IFile file) Returns a handle to the launch configuration contained in the specified file.Launch.getLaunchConfiguration()
ILaunchManager.getLaunchConfigurations()
Returns all launch configurations defined in the workspace.ILaunchManager.getLaunchConfigurations
(int kinds) Returns all launch configurations defined in the workspace of the specified kind(s) (configurations and/or prototypes).ILaunchManager.getLaunchConfigurations
(ILaunchConfigurationType type) Returns all launch configurations of the specified type defined in the workspaceILaunchManager.getLaunchConfigurations
(ILaunchConfigurationType type, int kinds) Returns all launch configurations of the specified type defined in the workspace of the specified kind(s) (configurations and/or prototypes).ILaunchManager.getMigrationCandidates()
Returns a collection of launch configurations that required migration to be compatible with current tooling.ILaunchManager.getMovedFrom
(ILaunchConfiguration addedConfiguration) When a launch configuration is created or moved, registered launch configuration listeners (seeILaunchConfigurationListener
) are notified of an add notification for the new configuration.ILaunchManager.getMovedTo
(ILaunchConfiguration removedConfiguration) When a launch configuration is deleted or moved, registered launch configuration listeners (seeILaunchConfigurationListener
) are notified of a remove notification for launch configuration that has been deleted.ILaunchConfigurationWorkingCopy.getOriginal()
Returns the original launch configuration this working copy was created from ornull
if this is a new working copy created from a launch configuration type.ILaunchConfiguration.getPrototype()
Returns the prototype this launch configuration was created from ornull
if none.ILaunchConfigurationType.getPrototypes()
Returns all launch configuration prototypes of the this type, possibly an empty collection.Modifier and TypeMethodDescriptionILaunchConfiguration.getPrototypeChildren()
Returns all configurations made from this prototype, possibly an empty collection.Modifier and TypeMethodDescriptionboolean
ILaunchConfiguration.contentsEqual
(ILaunchConfiguration configuration) Returns whether the contents of this launch configuration are equal to the contents of the given launch configuration.void
ILaunchConfigurationWorkingCopy.copyAttributes
(ILaunchConfiguration prototype) Copies all attributes from the given prototype to this working.ILaunchManager.getEncoding
(ILaunchConfiguration configuration) This method returns the character encoding to use when launching the specifiedILaunchConfiguration
.String[]
ILaunchManager.getEnvironment
(ILaunchConfiguration configuration) Returns an array of environment variables to be used when launching the given configuration ornull
if unspecified.ILaunchManager.getMovedFrom
(ILaunchConfiguration addedConfiguration) When a launch configuration is created or moved, registered launch configuration listeners (seeILaunchConfigurationListener
) are notified of an add notification for the new configuration.ILaunchManager.getMovedTo
(ILaunchConfiguration removedConfiguration) When a launch configuration is deleted or moved, registered launch configuration listeners (seeILaunchConfigurationListener
) are notified of a remove notification for launch configuration that has been deleted.ILaunchManager.getSourcePathComputer
(ILaunchConfiguration configuration) Returns a source path computer to compute a default source lookup path for the given launch configuration, ornull
if a source path computer has not been registered for the associated launch configuration type.boolean
ILaunchConfigurationMigrationDelegate.isCandidate
(ILaunchConfiguration candidate) Returns whether the given launch configuration requires migration.static boolean
RefreshUtil.isRefreshRecursive
(ILaunchConfiguration configuration) Returns whether the refresh scope specified by the given launch configuration is recursive.void
ILaunchConfigurationListener.launchConfigurationAdded
(ILaunchConfiguration configuration) The given launch configuration has been created.void
Launch.launchConfigurationAdded
(ILaunchConfiguration configuration) void
ILaunchConfigurationListener.launchConfigurationChanged
(ILaunchConfiguration configuration) The given launch configuration has changed in some way.void
Launch.launchConfigurationChanged
(ILaunchConfiguration configuration) void
ILaunchConfigurationListener.launchConfigurationRemoved
(ILaunchConfiguration configuration) The given launch configuration has been deleted.void
Launch.launchConfigurationRemoved
(ILaunchConfiguration configuration) void
ILaunchConfigurationMigrationDelegate.migrate
(ILaunchConfiguration candidate) Migrates the given launch configuration to be compatible with the current tooling.static void
RefreshUtil.refreshResources
(ILaunchConfiguration configuration, IProgressMonitor monitor) Refreshes the resources as specified by the given launch configuration via itsRefreshUtil.ATTR_REFRESH_SCOPE
andRefreshUtil.ATTR_REFRESH_RECURSIVE
attributes.void
ILaunchConfigurationWorkingCopy.setPrototype
(ILaunchConfiguration prototype, boolean copy) Sets the prototype that this configuration is based on, possiblynull
, and optionally copies attributes from the prototype to this working copy.ModifierConstructorDescriptionLaunch
(ILaunchConfiguration launchConfiguration, String mode, ISourceLocator locator) Constructs a launch with the specified attributes. -
Uses of ILaunchConfiguration in org.eclipse.debug.core.model
Modifier and TypeMethodDescriptionboolean
ILaunchConfigurationDelegate2.buildForLaunch
(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) Optionally performs any required building before launching the given configuration in the specified mode, and returns whether the debug platform should perform an incremental workspace build before the launch continues.boolean
LaunchConfigurationDelegate.buildForLaunch
(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) boolean
ILaunchConfigurationDelegate2.finalLaunchCheck
(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) Returns whether a launch should proceed.boolean
LaunchConfigurationDelegate.finalLaunchCheck
(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) protected IBreakpoint[]
LaunchConfigurationDelegate.getBreakpoints
(ILaunchConfiguration configuration) Returns the breakpoint collection that is relevant for this launch delegate.protected IProject[]
LaunchConfigurationDelegate.getBuildOrder
(ILaunchConfiguration configuration, String mode) Returns the projects to build before launching the given launch configuration ornull
if the entire workspace should be built incrementally.ILaunchConfigurationDelegate2.getLaunch
(ILaunchConfiguration configuration, String mode) Returns a launch object to use when launching the given launch configuration in the given mode, ornull
if a new default launch object should be created by the debug platform.LaunchConfigurationDelegate.getLaunch
(ILaunchConfiguration configuration, String mode) protected IProject[]
LaunchConfigurationDelegate.getProjectsForProblemSearch
(ILaunchConfiguration configuration, String mode) Returns the set of projects to use when searching for errors ornull
if no search is to be done.void
IPersistableSourceLocator.initializeDefaults
(ILaunchConfiguration configuration) Initializes this source locator to perform default source lookup for the given launch configuration.void
ILaunchConfigurationDelegate.launch
(ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor) Launches the given configuration in the specified mode, contributing debug targets and/or processes to the given launch object.boolean
ILaunchConfigurationDelegate2.preLaunchCheck
(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) Returns whether a launch should proceed.boolean
LaunchConfigurationDelegate.preLaunchCheck
(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) protected boolean
LaunchConfigurationDelegate.saveBeforeLaunch
(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) Performs the scoped saving of resources before launching and returns whether the launch should continue.default String
ILaunchConfigurationDelegate.showCommandLine
(ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor) Gets the command line to launch the given configuration in the specified mode. -
Uses of ILaunchConfiguration in org.eclipse.debug.core.sourcelookup
Modifier and TypeFieldDescriptionprotected ILaunchConfiguration
AbstractSourceLookupDirector.fConfig
Modifier and TypeMethodDescriptionAbstractSourceLookupDirector.getLaunchConfiguration()
ISourceLookupDirector.getLaunchConfiguration()
Returns the launch configuration associated with this source lookup director, ornull
if none.Modifier and TypeMethodDescriptionISourcePathComputerDelegate.computeSourceContainers
(ILaunchConfiguration configuration, IProgressMonitor monitor) Returns a default collection source containers to be considered for the given launch configuration.void
AbstractSourceLookupDirector.initializeDefaults
(ILaunchConfiguration configuration) void
AbstractSourceLookupDirector.initializeFromMemento
(String memento, ILaunchConfiguration configuration) void
IPersistableSourceLocator2.initializeFromMemento
(String memento, ILaunchConfiguration configuration) Initializes this source locator based on the given memento, for the given launch configuration.void
AbstractSourceLookupDirector.launchConfigurationAdded
(ILaunchConfiguration configuration) void
AbstractSourceLookupDirector.launchConfigurationChanged
(ILaunchConfiguration configuration) void
AbstractSourceLookupDirector.launchConfigurationRemoved
(ILaunchConfiguration configuration) protected void
AbstractSourceLookupDirector.setLaunchConfiguration
(ILaunchConfiguration configuration) Sets the launch configuration associated with this source lookup director. -
Uses of ILaunchConfiguration in org.eclipse.debug.core.sourcelookup.containers
Modifier and TypeMethodDescriptionprotected ILaunchConfiguration
DefaultSourceContainer.getLaunchConfiguration()
Returns the launch configuration for which a default source lookup path will be computed, ornull
if none. -
Uses of ILaunchConfiguration in org.eclipse.debug.ui
Modifier and TypeMethodDescriptionstatic ILaunchConfiguration
DebugUITools.getLastLaunch
(String groupId) Returns the last configuration that was launched for specified launch group ornull
, if there is not one.static ILaunchConfiguration
DebugUITools.getLaunchConfiguration
(ILaunchConfigurationDialog dialog) Returns the ILaunchConfiguration corresponding to ILaunchConfigurationDialogprotected ILaunchConfiguration
WorkingDirectoryBlock.getLaunchConfiguration()
Returns the launch configuration that this working directory block is using.ILaunchShortcut2.getLaunchConfigurations
(ISelection selection) Returns an array ofILaunchConfiguration
s that apply to the specified selection, an empty collection if one could be created but does not exist, ornull
if default resource mappings should be used to derive associated configurations.ILaunchShortcut2.getLaunchConfigurations
(IEditorPart editorpart) Returns an array of existingILaunchConfiguration
s that could be used to launch the given editor part, an empty array if one could be created but does not exist, ornull
if default resource mappings should be used to derive associated configurationsModifier and TypeMethodDescriptionstatic ILaunch
DebugUITools.buildAndLaunch
(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) Builds the workspace according to current preference settings, and launches the given configuration in the specified mode, returning the resulting launch object.static ILaunchGroup
DebugUITools.getLaunchGroup
(ILaunchConfiguration configuration, String mode) Returns the launch group that the given launch configuration belongs to, for the specified mode, ornull
if none.protected abstract IProject
WorkingDirectoryBlock.getProject
(ILaunchConfiguration configuration) Returns the project associated with the specified launch configuration ornull
if none.static String
RefreshTab.getRefreshScope
(ILaunchConfiguration configuration) Returns the refresh scope attribute specified by the given launch configuration ornull
if none.void
AbstractLaunchConfigurationTabGroup.initializeFrom
(ILaunchConfiguration configuration) By default, delegate to all of the tabs in this group.void
CommonTab.initializeFrom
(ILaunchConfiguration configuration) void
EnvironmentTab.initializeFrom
(ILaunchConfiguration configuration) void
ILaunchConfigurationTab.initializeFrom
(ILaunchConfiguration configuration) Initializes this tab's controls with values from the given launch configuration.void
ILaunchConfigurationTabGroup.initializeFrom
(ILaunchConfiguration configuration) Initializes this group's tab controls with values from the given launch configuration.void
PrototypeTab.initializeFrom
(ILaunchConfiguration configuration) void
RefreshTab.initializeFrom
(ILaunchConfiguration configuration) void
WorkingDirectoryBlock.initializeFrom
(ILaunchConfiguration configuration) static boolean
CommonTab.isLaunchInBackground
(ILaunchConfiguration configuration) Returns whether the given configuration should be launched in the background.static boolean
DebugUITools.isPrivate
(ILaunchConfiguration configuration) Returns whether the given launch configuration is private.static boolean
RefreshTab.isRefreshRecursive
(ILaunchConfiguration configuration) Returns whether the refresh scope specified by the given launch configuration is recursive.boolean
AbstractLaunchConfigurationTab.isValid
(ILaunchConfiguration launchConfig) boolean
CommonTab.isValid
(ILaunchConfiguration config) boolean
ILaunchConfigurationTab.isValid
(ILaunchConfiguration launchConfig) Returns whether this tab is in a valid state in the context of the specified launch configuration.boolean
PrototypeTab.isValid
(ILaunchConfiguration config) boolean
RefreshTab.isValid
(ILaunchConfiguration launchConfig) boolean
WorkingDirectoryBlock.isValid
(ILaunchConfiguration config) static void
DebugUITools.launch
(ILaunchConfiguration configuration, String mode) Saves and builds the workspace according to current preference settings, and launches the given launch configuration in the specified mode.static void
DebugUITools.launch
(ILaunchConfiguration configuration, String mode, boolean isShift) Saves and builds the workspace according to current preference settings, and launches the given launch configuration in the specified mode.static int
DebugUITools.openLaunchConfigurationDialog
(Shell shell, ILaunchConfiguration configuration, String groupIdentifier, IStatus status) Open the launch configuration dialog on the specified launch configuration.static int
DebugUITools.openLaunchConfigurationPropertiesDialog
(Shell shell, ILaunchConfiguration configuration, String groupIdentifier) Open the launch configuration properties dialog on the specified launch configuration.static int
DebugUITools.openLaunchConfigurationPropertiesDialog
(Shell shell, ILaunchConfiguration configuration, String groupIdentifier, IStatus status) Open the launch configuration properties dialog on the specified launch configuration.static void
RefreshTab.refreshResources
(ILaunchConfiguration configuration, IProgressMonitor monitor) Refreshes the resources as specified by the given launch configuration.static void
DebugUITools.reLaunch
(ILaunchConfiguration configuration, String mode) Saves and builds the workspace according to current preference settings, and launches the given launch configuration in the specified mode.protected void
WorkingDirectoryBlock.setLaunchConfiguration
(ILaunchConfiguration config) Sets the launch configuration to be used by this working directory block.protected void
EnvironmentTab.updateEnvironment
(ILaunchConfiguration configuration) Updates the environment table for the given launch configurationprotected void
CommonTab.updateLaunchInBackground
(ILaunchConfiguration configuration) Updates the launch on background check button -
Uses of ILaunchConfiguration in org.eclipse.debug.ui.actions
Modifier and TypeMethodDescriptionprotected ILaunchConfiguration[]
AbstractLaunchHistoryAction.getFavorites()
Returns the launch favorites associated with this action's launch mode and group in user preference order.protected ILaunchConfiguration[]
AbstractLaunchHistoryAction.getHistory()
Returns the launch history associated with this action's launch mode and group in most recently launched order.protected ILaunchConfiguration
AbstractLaunchHistoryAction.getLastLaunch()
Return the last launch in this action's launch history.protected ILaunchConfiguration
RelaunchLastAction.getLastLaunch()
Return the last launch that occurred in the workspace.Modifier and TypeMethodDescriptionprotected String
AbstractLaunchHistoryAction.getToolTip
(ILaunchConfiguration configuration) Returns the tooltip specific to a configuration.ModifierConstructorDescriptionLaunchAction
(ILaunchConfiguration configuration, String mode) Constructs an action that launches the specified launch configuration in the specified mode. -
Uses of ILaunchConfiguration in org.eclipse.debug.ui.sourcelookup
Modifier and TypeMethodDescriptionvoid
SourceLookupTab.initializeFrom
(ILaunchConfiguration configuration) -
Uses of ILaunchConfiguration in org.eclipse.unittest.ui
Modifier and TypeMethodDescriptionITestViewSupport.getRerunLaunchConfiguration
(List<ITestElement> testElements) Returns a Rerun launch configuration for the given element