org.eclipse.cdt.debug.core.sourcelookup
Class MappingSourceContainer
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
org.eclipse.cdt.debug.core.sourcelookup.MappingSourceContainer
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.sourcelookup.ISourceContainer
public class MappingSourceContainer
- extends org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
The source container for path mappings.
Field Summary |
static java.lang.String |
TYPE_ID
Unique identifier for the mapping source container type
(value org.eclipse.cdt.debug.core.containerType.mapping ). |
Fields inherited from class org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer |
EMPTY |
Methods inherited from class org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer |
init |
Methods inherited from class org.eclipse.core.runtime.PlatformObject |
getAdapter |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
TYPE_ID
public static final java.lang.String TYPE_ID
- Unique identifier for the mapping source container type
(value
org.eclipse.cdt.debug.core.containerType.mapping
).
MappingSourceContainer
public MappingSourceContainer(java.lang.String name)
- Constructor for MappingSourceContainer.
getName
public java.lang.String getName()
getType
public org.eclipse.debug.core.sourcelookup.ISourceContainerType getType()
isComposite
public boolean isComposite()
- Specified by:
isComposite
in interface org.eclipse.debug.core.sourcelookup.ISourceContainer
- Overrides:
isComposite
in class org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
findSourceElements
public java.lang.Object[] findSourceElements(java.lang.String name)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
getSourceContainers
public org.eclipse.debug.core.sourcelookup.ISourceContainer[] getSourceContainers()
throws org.eclipse.core.runtime.CoreException
- Specified by:
getSourceContainers
in interface org.eclipse.debug.core.sourcelookup.ISourceContainer
- Overrides:
getSourceContainers
in class org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
- Throws:
org.eclipse.core.runtime.CoreException
addMapEntry
public void addMapEntry(MapEntrySourceContainer entry)
addMapEntries
public void addMapEntries(MapEntrySourceContainer[] entries)
removeMapEntry
public void removeMapEntry(MapEntrySourceContainer entry)
removeMapEntries
public void removeMapEntries(MapEntrySourceContainer[] entries)
clear
public void clear()
dispose
public void dispose()
- Specified by:
dispose
in interface org.eclipse.debug.core.sourcelookup.ISourceContainer
- Overrides:
dispose
in class org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
copy
public MappingSourceContainer copy()
setName
public void setName(java.lang.String name)
getCompilationPath
public org.eclipse.core.runtime.IPath getCompilationPath(java.lang.String sourceName)