Class WorkingSetSourceContainer
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.ui.sourcelookup.WorkingSetSourceContainer
- All Implemented Interfaces:
IAdaptable, ISourceContainer
A working set in the workspace. Source is searched for in the projects (referenced
projects) and folders (sub-folders) that are part of the working set.
This class may be instantiated.
- Since:
- 3.0
- Restriction:
- This class is not intended to be subclassed by clients.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUnique identifier for the working set source container type (valueorg.eclipse.debug.ui.containerType.workingSet.)Fields inherited from class AbstractSourceContainer
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionWorkingSetSourceContainer(IWorkingSet workingSet) Creates a source container for the working set. -
Method Summary
Modifier and TypeMethodDescriptionprotected ISourceContainer[]Creates the source containers in this composite container.booleangetName()The name of this source container that can be used for presentation purposes.getType()Returns this container's type.inthashCode()Methods inherited from class CompositeSourceContainer
dispose, findSourceElements, findSourceElements, getSourceContainers, isCompositeMethods inherited from class AbstractSourceContainer
abort, getDirector, getSourceContainerType, init, isFindDuplicates, warnMethods inherited from class PlatformObject
getAdapterMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAdaptable
getAdapter
-
Field Details
-
TYPE_ID
Unique identifier for the working set source container type (valueorg.eclipse.debug.ui.containerType.workingSet.)
-
-
Constructor Details
-
WorkingSetSourceContainer
Creates a source container for the working set.- Parameters:
workingSet- the working set represented by this container
-
-
Method Details
-
getName
Description copied from interface:ISourceContainerThe 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
-
getType
Description copied from interface:ISourceContainerReturns this container's type.- Returns:
- this container's type
-
createSourceContainers
Description copied from class:CompositeSourceContainerCreates the source containers in this composite container. Subclasses should override this methods.- Specified by:
createSourceContainersin classCompositeSourceContainer- Returns:
- the array of
ISourceContainers - Throws:
CoreException- if unable to create the containers
-