public class JavaProjectSourceContainer extends CompositeSourceContainer
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.javaProject). |
EMPTY| Constructor and Description |
|---|
JavaProjectSourceContainer(IJavaProject project)
Constructs a source container on the given Java project.
|
| Modifier and Type | Method and Description |
|---|---|
protected ISourceContainer[] |
createSourceContainers() |
void |
dispose() |
boolean |
equals(Object obj) |
Object[] |
findSourceElements(String name) |
IJavaProject |
getJavaProject()
Returns the Java project associated with this source container.
|
String |
getName() |
ISourceContainerType |
getType() |
int |
hashCode() |
findSourceElements, getSourceContainers, isCompositeabort, getDirector, getSourceContainerType, init, isFindDuplicates, warngetAdapterclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAdapterpublic static final String TYPE_ID
org.eclipse.jdt.launching.sourceContainer.javaProject).public JavaProjectSourceContainer(IJavaProject project)
project - project to look for source inpublic String getName()
public ISourceContainerType getType()
public IJavaProject getJavaProject()
protected ISourceContainer[] createSourceContainers() throws CoreException
createSourceContainers in class CompositeSourceContainerCoreExceptionpublic Object[] findSourceElements(String name) throws CoreException
findSourceElements in interface ISourceContainerfindSourceElements in class CompositeSourceContainerCoreExceptionpublic void dispose()
dispose in interface ISourceContainerdispose in class CompositeSourceContainer
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.