Interface ISourceContainerType
- All Superinterfaces:
ISourceContainerTypeDelegate
A source container type represents a kind of container of source code. For
example, a source container type may be a project or a directory. A specific
project or directory is represented by an instance of a source container
type, which is called a source container (
ISourceContainer
).
A source container type is contributed via the
sourceContainerTypes
extension point, providing a delegate to
the work specific to the contributed type. Following is an example
contribution.
<extension point="org.eclipse.debug.core.sourceContainerTypes"> <sourceContainerType name="Project" class="org.eclipse.debug.internal.core.sourcelookup.containers.ProjectSourceContainerType" id="org.eclipse.debug.core.containerType.project" description="A project in the workspace"> </sourceContainerType> </extension>
Clients contributing a source container type implement
ISourceContainerTypeDelegate
.
- Since:
- 3.0
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a short description of this source container type that can be used for presentation purposes, ornull
if none.getId()
Returns the unique identifier associated with this source container type.getName()
Returns the name of this source container type that can be used for presentation purposes.Methods inherited from interface org.eclipse.debug.core.sourcelookup.ISourceContainerTypeDelegate
createSourceContainer, getMemento
-
Method Details
-
getName
String getName()Returns the name of this source container type that can be used for presentation purposes. For example,Working Set
orProject
. The value returned is identical to the name specified in plugin.xml by thename
attribute.- Returns:
- the name of this source container type
-
getId
String getId()Returns the unique identifier associated with this source container type. The value returned is identical to the identifier specified in plugin.xml by theid
attribute.- Returns:
- the unique identifier associated with this source container type
-
getDescription
String getDescription()Returns a short description of this source container type that can be used for presentation purposes, ornull
if none.- Returns:
- a short description of this source container type, or
null
-