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:
- IAdaptable, ISourceContainer
public class PackageFragmentRootSourceContainer
- extends AbstractSourceContainer
Package fragment root source container. Represents an archive
or folder in the Java model containing class files, with a possible
source attachment.
This class may be instantiated.
- Since:
- 3.0
- Restriction:
- This class is not intended to be subclassed by clients.
Field Summary |
static java.lang.String |
TYPE_ID
Unique identifier for Java project source container type
(value org.eclipse.jdt.launching.sourceContainer.packageFragmentRoot ). |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TYPE_ID
public static final java.lang.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 java.lang.Object[] findSourceElements(java.lang.String name)
throws CoreException
- Throws:
CoreException
getName
public java.lang.String getName()
getType
public ISourceContainerType getType()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
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()
- Overrides:
hashCode
in class java.lang.Object
getPath
public IPath getPath()
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2012 IBM Corporation and others. All rights reserved.