org.eclipse.jdt.launching.sourcelookup.containers
Class PackageFragmentRootSourceContainer
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
org.eclipse.jdt.launching.sourcelookup.containers.PackageFragmentRootSourceContainer
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.sourcelookup.ISourceContainer
- public class PackageFragmentRootSourceContainer
- extends org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
Package fragment root source container. Represents an archive
or folder in the Java model containing classfiles, with a possible
source attachment.
This class may be instantiated; this class is not intended to be
subclassed.
- Since:
- 3.0
Field Summary |
static String |
TYPE_ID
Unique identifier for Java project source container type
(value org.eclipse.jdt.launching.sourceContainer.packageFragmentRoot ). |
Fields inherited from class org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer |
EMPTY |
Methods inherited from class org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer |
abort, dispose, getDirector, getSourceContainers, getSourceContainerType, init, isComposite, isFindDuplicates |
Methods inherited from class org.eclipse.core.runtime.PlatformObject |
getAdapter |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
TYPE_ID
public static final String TYPE_ID
- Unique identifier for Java project source container type
(value
org.eclipse.jdt.launching.sourceContainer.packageFragmentRoot
).
PackageFragmentRootSourceContainer
public PackageFragmentRootSourceContainer(IPackageFragmentRoot root)
- Constructs a new package fragment root source container on the
given root. The root must be of kind
K_BINARY
.
- Parameters:
root
- package fragment root
findSourceElements
public Object[] findSourceElements(String name)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
getName
public String getName()
getType
public org.eclipse.debug.core.sourcelookup.ISourceContainerType getType()
equals
public boolean equals(Object obj)
getPackageFragmentRoot
public IPackageFragmentRoot getPackageFragmentRoot()
- Returns the package fragment root this container searches for source.
- Returns:
- the package fragment root this container searches for source
hashCode
public int hashCode()
getPath
public org.eclipse.core.runtime.IPath getPath()
Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.