public interface IRuntimeClasspathEntry2 extends IRuntimeClasspathEntry
IRuntimeClasspathEntry
to support
extensible runtime includepath entries. Contributed runtime includepath
entries have a type of OTHER
, and are contributed to
the runtimeClasspathEntries
extension point.
Clients are not intended to implement this interface, as new types of runtime includepath entries are only intended to be contributed by the JavaScript debugger.
ARCHIVE, BOOTSTRAP_CLASSES, CONTAINER, OTHER, PROJECT, STANDARD_CLASSES, USER_CLASSES, VARIABLE
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns a human readable name for this includepath entry.
|
IRuntimeClasspathEntry[] |
getRuntimeClasspathEntries(ILaunchConfiguration configuration)
Returns the includepath entries this entry is composed of, or an
empty collection if this entry is not a composite entry.
|
java.lang.String |
getTypeId()
Returns the unique identifier of the extension that contributed
this includepath entry type, or
null if this includepath
entry type was not contributed. |
void |
initializeFrom(org.w3c.dom.Element memento)
Initializes this runtime includepath entry from the given memento.
|
boolean |
isComposite()
Returns whether this includepath entry is composed of other entries.
|
getClasspathEntry, getClasspathProperty, getJavaProject, getLocation, getMemento, getPath, getResource, getSourceAttachmentLocation, getSourceAttachmentPath, getSourceAttachmentRootLocation, getSourceAttachmentRootPath, getType, getVariableName, setClasspathProperty, setSourceAttachmentPath, setSourceAttachmentRootPath
void initializeFrom(org.w3c.dom.Element memento) throws CoreException
memento
- memento created by a includepath entry of the same typeCoreException
- if unable to initialize from the given mementojava.lang.String getTypeId()
null
if this includepath
entry type was not contributed.null
if this includepath
entry type was not contributedboolean isComposite()
IRuntimeClasspathEntry[] getRuntimeClasspathEntries(ILaunchConfiguration configuration) throws CoreException
configuration
- the context (launch configuration) in which
this runtime includepath entry is being queried for contained
entries, possibly null
CoreException
- if unable to retrieve contained entriesjava.lang.String getName()
Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.