PTP
Release 5.0

org.eclipse.ptp.debug.core.sourcelookup
Class PSourceLookupDirector

java.lang.Object
  extended by org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector
      extended by org.eclipse.ptp.debug.core.sourcelookup.PSourceLookupDirector
All Implemented Interfaces:
org.eclipse.debug.core.ILaunchConfigurationListener, org.eclipse.debug.core.ILaunchListener, org.eclipse.debug.core.model.IPersistableSourceLocator, org.eclipse.debug.core.model.ISourceLocator, org.eclipse.debug.core.sourcelookup.IPersistableSourceLocator2, org.eclipse.debug.core.sourcelookup.ISourceLookupDirector, IPSourceLookupDirector
Direct Known Subclasses:
DefaultSourceLocator

public class PSourceLookupDirector
extends org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector
implements IPSourceLookupDirector


Field Summary
 
Fields inherited from class org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector
CONTAINER_MEMENTO_ATTR, CONTAINER_NODE, CONTAINER_TYPE_ATTR, CONTAINERS_NODE, DIRECTOR_ROOT_NODE, DUPLICATES_ATTR, fComputer, fConfig, fDuplicates, fId, fParticipants, fPromptStatus, fResolvedElements, fResolveDuplicatesStatus, fSourceContainers
 
Constructor Summary
PSourceLookupDirector()
           
 
Method Summary
 boolean contains(IPBreakpoint breakpoint)
          Test if the breakpoint is in a source file in the project.
 boolean contains(org.eclipse.core.resources.IProject project)
           
 org.eclipse.core.runtime.IPath getCompilationPath(java.lang.String sourceName)
           
 void initializeParticipants()
           
 boolean supportsSourceContainerType(org.eclipse.debug.core.sourcelookup.ISourceContainerType type)
           
 
Methods inherited from class org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector
abort, addParticipants, cacheResolvedElement, clearCachedElement, clearSourceElements, dispose, doInitializeFromMemento, doSourceLookup, findSourceElements, getCachedElement, getCurrentParticipant, getId, getLaunchConfiguration, getMemento, getParticipants, getSourceContainers, getSourceElement, getSourceElement, getSourcePathComputer, initializeDefaults, initializeFromMemento, initializeFromMemento, isFindDuplicates, launchAdded, launchChanged, launchConfigurationAdded, launchConfigurationChanged, launchConfigurationRemoved, launchRemoved, removeParticipants, resolveSourceElement, setFindDuplicates, setId, setLaunchConfiguration, setSourceContainers, setSourcePathComputer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSourceLookupDirector

public PSourceLookupDirector()
Method Detail

contains

public boolean contains(IPBreakpoint breakpoint)
Test if the breakpoint is in a source file in the project.

Parameters:
breakpoint - breakpoint to test
Returns:
true if the breakpoint is in a source file

contains

public boolean contains(org.eclipse.core.resources.IProject project)
Parameters:
project -
Returns:

getCompilationPath

public org.eclipse.core.runtime.IPath getCompilationPath(java.lang.String sourceName)
Specified by:
getCompilationPath in interface IPSourceLookupDirector
Returns:

initializeParticipants

public void initializeParticipants()
Specified by:
initializeParticipants in interface org.eclipse.debug.core.sourcelookup.ISourceLookupDirector

supportsSourceContainerType

public boolean supportsSourceContainerType(org.eclipse.debug.core.sourcelookup.ISourceContainerType type)
Specified by:
supportsSourceContainerType in interface org.eclipse.debug.core.sourcelookup.ISourceLookupDirector
Overrides:
supportsSourceContainerType in class org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.