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_ONLY
K_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, resolvedLibraryImport
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowAttachJsDoc, getComparisonID, getFailureContainer, getHostPath, getInferenceID, initialize, removeFromProject, requestJsGlobalScopeContainerUpdate
protected 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 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 referencedpublic 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 updatedtrue
if the container can be updatedpublic java.lang.String[] containerSuperTypes()
IJsGlobalScopeContainerInitializer
containerSuperTypes
in interface IJsGlobalScopeContainerInitializer
containerSuperTypes
in class JsGlobalScopeContainerInitializer
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.