Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.core.sourcelookup
Interface ISourcePathComputer

All Superinterfaces:
ISourcePathComputerDelegate

public interface ISourcePathComputer
extends ISourcePathComputerDelegate

A source path computer computes the default source lookup path (set of source containers that should be considered) for a launch configuration.

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.

Since:
3.0
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Field Summary
static  String ATTR_SOURCE_PATH_COMPUTER_ID
          Launch configuration attribute to specify a source path computer that should be used for a launch configuration.
 
Method Summary
  String getId ()
          Returns the unique identifier for this source path computer.
 
Methods inherited from interface org.eclipse.debug.core.sourcelookup. ISourcePathComputerDelegate
computeSourceContainers
 

Field Detail

ATTR_SOURCE_PATH_COMPUTER_ID

static final 
String ATTR_SOURCE_PATH_COMPUTER_ID
Launch configuration attribute to specify a source path computer that should be used for a launch configuration. The value is an identifier of a source path computer extension, or unspecified (null), if the default source path computer should be used. A default source path computer can be associated with a launch configuration type.

Method Detail

getId


String getId()
Returns the unique identifier for this source path computer.

Returns:
the unique identifier for this source path computer

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire