public interface ISourcePathComputer extends ISourcePathComputerDelegate
A source path computer is contributed in plug-in XML via the
sourcePathComputers
extension point, that provides a delegate
to compute the path specific to a launch configuration. Following
is an example contribution.
<extension point="org.eclipse.debug.core.sourcePathComputers"> <sourcePathComputer id="org.eclipse.example.exampleSourcePathComputer" class="org.eclipse.example.SourcePathComputer"> </sourcePathComputer> </extension>
A source path computer can be associated with a launch configuration type
via the sourcePathComputerId
attribute of a launch configuration
type extension. As well, a launch configuration can specify its own
source path computer to use via the ATTR_SOURCE_PATH_COMPUTER_ID
attribute.
Clients contributing a source path computer provide an implementation of
ISourcePathComputerDelegate
.
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_SOURCE_PATH_COMPUTER_ID
Launch configuration attribute to specify a source path computer
that should be used for a launch configuration.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the unique identifier for this source path computer.
|
computeSourceContainers
static final String ATTR_SOURCE_PATH_COMPUTER_ID
null
), if the
default source path computer should be used. A default source path computer
can be associated with a launch configuration type.String getId()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.