public class FireFoxLibInitializer extends JsGlobalScopeContainerInitializer implements IJsGlobalScopeContainerInitializer
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
CONTAINER_ID |
protected static java.lang.String |
ContainerDescription |
protected static char[][] |
LIBRARY_FILE_NAMES |
protected static java.lang.String |
PLUGIN_ID |
ATTRIBUTE_NOT_SUPPORTED, ATTRIBUTE_READ_ONLYK_APPLICATION, K_DEFAULT_SYSTEM, K_SYSTEM| Constructor and Description |
|---|
FireFoxLibInitializer() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
allowAttachJsDoc, getAccessRulesStatus, getAttributeStatus, getComparisonID, getContainer, getFailureContainer, getHostPath, getIncludepathEntries, getInferenceID, getSourceAttachmentStatus, initialize, removeFromProject, requestJsGlobalScopeContainerUpdate, resolvedLibraryImportclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowAttachJsDoc, getComparisonID, getFailureContainer, getHostPath, getInferenceID, initialize, removeFromProject, requestJsGlobalScopeContainerUpdateprotected static final java.lang.String CONTAINER_ID
protected static final java.lang.String ContainerDescription
protected static final char[][] LIBRARY_FILE_NAMES
protected static final java.lang.String PLUGIN_ID
public LibraryLocation getLibraryLocation()
getLibraryLocation in interface IJsGlobalScopeContainerInitializerpublic java.lang.String getDescription(IPath containerPath,
IJavaScriptProject project)
IJsGlobalScopeContainerInitializerIJsGlobalScopeContainer.getDescription()).getDescription in interface IJsGlobalScopeContainerInitializergetDescription in class JsGlobalScopeContainerInitializercontainerPath - the path of the container which requires a readable descriptionproject - the project from which the container is referencedpublic java.lang.String getDescription()
IJsGlobalScopeContainergetDescription in interface IJsGlobalScopeContainergetDescription in class JsGlobalScopeContainerInitializerpublic 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 IJsGlobalScopeContainergetPath in class JsGlobalScopeContainerInitializerpublic int getKind()
IJsGlobalScopeContainerK_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 IJsGlobalScopeContainergetKind in class JsGlobalScopeContainerInitializerpublic boolean canUpdateJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project)
IJsGlobalScopeContainerInitializertrue 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 IJsGlobalScopeContainerInitializercanUpdateJsGlobalScopeContainer in class JsGlobalScopeContainerInitializercontainerPath - the path of the container which requires to be updatedproject - the project for which the container is to be updatedtrue if the container can be updatedpublic java.lang.String[] containerSuperTypes()
IJsGlobalScopeContainerInitializercontainerSuperTypes in interface IJsGlobalScopeContainerInitializercontainerSuperTypes in class JsGlobalScopeContainerInitializerCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.