Class WorkspaceSourceContainer
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer
org.eclipse.debug.core.sourcelookup.containers.WorkspaceSourceContainer
- All Implemented Interfaces:
IAdaptable
,ISourceContainer
All projects in the workspace.
Clients may instantiate this class.
- Since:
- 3.0
- Restriction:
- This class is not intended to be subclassed by clients.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Unique identifier for the workspace source container type (valueorg.eclipse.debug.core.containerType.workspace
).Fields inherited from class org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ISourceContainer[]
Creates the source containers in this composite container.boolean
getName()
The name of this source container that can be used for presentation purposes.getType()
Returns this container's type.int
hashCode()
Methods inherited from class org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer
dispose, findSourceElements, findSourceElements, getSourceContainers, isComposite
Methods inherited from class org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
abort, getDirector, getSourceContainerType, init, isFindDuplicates, warn
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Field Details
-
TYPE_ID
Unique identifier for the workspace source container type (valueorg.eclipse.debug.core.containerType.workspace
).
-
-
Constructor Details
-
WorkspaceSourceContainer
public WorkspaceSourceContainer()
-
-
Method Details
-
getName
Description copied from interface:ISourceContainer
The name of this source container that can be used for presentation purposes. For example, the name of a project.- Returns:
- the name of this source container
-
equals
-
hashCode
public int hashCode() -
getType
Description copied from interface:ISourceContainer
Returns this container's type.- Returns:
- this container's type
-
createSourceContainers
Description copied from class:CompositeSourceContainer
Creates the source containers in this composite container. Subclasses should override this methods.- Specified by:
createSourceContainers
in classCompositeSourceContainer
- Returns:
- the array of
ISourceContainer
s - Throws:
CoreException
- if unable to create the containers
-