public class PackageFragmentRootSourceContainer extends AbstractSourceContainer
This class may be instantiated.
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_ID
Unique identifier for Java project source container type
(value
org.eclipse.jdt.launching.sourceContainer.packageFragmentRoot ). |
EMPTY
Constructor and Description |
---|
PackageFragmentRootSourceContainer(IPackageFragmentRoot root)
Constructs a new package fragment root source container on the
given root.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object[] |
findSourceElements(String name) |
String |
getName() |
IPackageFragmentRoot |
getPackageFragmentRoot()
Returns the package fragment root this container searches for source.
|
IPath |
getPath() |
ISourceContainerType |
getType() |
int |
hashCode() |
abort, dispose, getDirector, getSourceContainers, getSourceContainerType, init, isComposite, isFindDuplicates, warn
getAdapter
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAdapter
public static final String TYPE_ID
org.eclipse.jdt.launching.sourceContainer.packageFragmentRoot
).public PackageFragmentRootSourceContainer(IPackageFragmentRoot root)
K_BINARY
.root
- package fragment rootpublic Object[] findSourceElements(String name) throws CoreException
CoreException
public String getName()
public ISourceContainerType getType()
public IPackageFragmentRoot getPackageFragmentRoot()
public IPath getPath()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.