|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer
org.eclipse.wst.jsdt.core.compiler.libraries.FireFoxLibInitializer
public class FireFoxLibInitializer
Field Summary |
---|
Fields inherited from class org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer |
---|
ATTRIBUTE_NOT_SUPPORTED, ATTRIBUTE_READ_ONLY |
Fields inherited from interface org.eclipse.wst.jsdt.core.IJsGlobalScopeContainer |
---|
K_APPLICATION, K_DEFAULT_SYSTEM, K_SYSTEM |
Constructor Summary | |
---|---|
FireFoxLibInitializer()
|
Method Summary | |
---|---|
boolean |
canUpdateJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project)
Returns true if this container initializer can be requested to perform updates
on its own container values. |
java.lang.String[] |
containerSuperTypes()
returns a String of all SuperTypes provided by this library. |
java.lang.String |
getDescription()
Answers a readable description of this container |
java.lang.String |
getDescription(IPath containerPath,
IJavaScriptProject project)
Returns a readable description for a container path. |
int |
getKind()
Answers the kind of this container. |
LibraryLocation |
getLibraryLocation()
|
IPath |
getPath()
Answers the container path identifying this container. |
Methods inherited from class org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer |
---|
allowAttachJsDoc, getAccessRulesStatus, getAttributeStatus, getClasspathEntries, getComparisonID, getFailureContainer, getHostPath, getIncludepathEntries, getInferenceID, getSourceAttachmentStatus, initialize, removeFromProject, requestJsGlobalScopeContainerUpdate, resolvedLibraryImport |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.wst.jsdt.core.IJsGlobalScopeContainerInitializer |
---|
allowAttachJsDoc, getComparisonID, getFailureContainer, getHostPath, getInferenceID, initialize, removeFromProject, requestJsGlobalScopeContainerUpdate |
Constructor Detail |
---|
public FireFoxLibInitializer()
Method Detail |
---|
public LibraryLocation getLibraryLocation()
getLibraryLocation
in interface IJsGlobalScopeContainerInitializer
public java.lang.String getDescription(IPath containerPath, IJavaScriptProject project)
IJsGlobalScopeContainerInitializer
IJsGlobalScopeContainer.getDescription()
).
getDescription
in interface IJsGlobalScopeContainerInitializer
getDescription
in class JsGlobalScopeContainerInitializer
containerPath
- the path of the container which requires a readable descriptionproject
- the project from which the container is referenced
public java.lang.String getDescription()
IJsGlobalScopeContainer
getDescription
in interface IJsGlobalScopeContainer
getDescription
in class JsGlobalScopeContainerInitializer
public IPath getPath()
IJsGlobalScopeContainer
The container ID is also used to identify aJsGlobalScopeContainerInitializer
registered on the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer", which can
be invoked if needing to resolve the container before it is explicitly set.
getPath
in interface IJsGlobalScopeContainer
getPath
in class JsGlobalScopeContainerInitializer
public int getKind()
IJsGlobalScopeContainer
K_APPLICATION
if this container maps to an application libraryK_SYSTEM
if this container maps to a system libraryK_DEFAULT_SYSTEM
if this container maps to a default system library (library
implicitly contributed by the runtime).
getKind
in interface IJsGlobalScopeContainer
getKind
in class JsGlobalScopeContainerInitializer
public boolean canUpdateJsGlobalScopeContainer(IPath containerPath, IJavaScriptProject project)
IJsGlobalScopeContainerInitializer
true
if this container initializer can be requested to perform updates
on its own container values. If so, then an update request will be performed using
JsGlobalScopeContainerInitializer#requestJsGlobalScopeContainerUpdate
/
canUpdateJsGlobalScopeContainer
in interface IJsGlobalScopeContainerInitializer
canUpdateJsGlobalScopeContainer
in class JsGlobalScopeContainerInitializer
containerPath
- the path of the container which requires to be updatedproject
- the project for which the container is to be updated
true
if the container can be updatedpublic java.lang.String[] containerSuperTypes()
IJsGlobalScopeContainerInitializer
containerSuperTypes
in interface IJsGlobalScopeContainerInitializer
containerSuperTypes
in class JsGlobalScopeContainerInitializer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |