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, isComposite
abort, getDirector, getSourceContainerType, init, isFindDuplicates, warn
getAdapter
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAdapter
public 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 CompositeSourceContainer
CoreException
public Object[] findSourceElements(String name) throws CoreException
findSourceElements
in interface ISourceContainer
findSourceElements
in class CompositeSourceContainer
CoreException
public void dispose()
dispose
in interface ISourceContainer
dispose
in class CompositeSourceContainer
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.