public interface ISourceContainerType extends ISourceContainerTypeDelegate
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 are not intended to implement this interface. Instead, clients contributing
a source container type implement ISourceContainerTypeDelegate
.
ISourceContainer
,
ISourceContainerTypeDelegate
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a short description of this source container type that can be used
for presentation purposes, or
null if none. |
String |
getId()
Returns the unique identifier associated with this source container type.
|
String |
getName()
Returns the name of this source container type that can be used for
presentation purposes.
|
createSourceContainer, getMemento
String getName()
Working Set
or
Project
. The value returned is
identical to the name specified in plugin.xml by the name
attribute.String getId()
id
attribute.String getDescription()
null
if none.null
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.