org.eclipse.jdt.launching.sourcelookup.containers
Class JavaProjectSourceContainer
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer
org.eclipse.jdt.launching.sourcelookup.containers.JavaProjectSourceContainer
- All Implemented Interfaces:
- IAdaptable, ISourceContainer
- public class JavaProjectSourceContainer
- extends CompositeSourceContainer
Java project source container. Searches for source in a project's
source folders.
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.javaProject ). |
TYPE_ID
public static final String TYPE_ID
- Unique identifier for Java project source container type
(value
org.eclipse.jdt.launching.sourceContainer.javaProject
).
JavaProjectSourceContainer
public JavaProjectSourceContainer(IJavaProject project)
- Constructs a source container on the given Java project.
- Parameters:
project
- project to look for source in
getName
public String getName()
getType
public ISourceContainerType getType()
getJavaProject
public IJavaProject getJavaProject()
- Returns the Java project associated with this source container.
- Returns:
- Java project
createSourceContainers
protected ISourceContainer[] createSourceContainers()
throws CoreException
- Throws:
CoreException
equals
public boolean equals(Object obj)
hashCode
public int hashCode()
findSourceElements
public Object[] findSourceElements(String name)
throws CoreException
- Throws:
CoreException
dispose
public void dispose()
Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.