blob: 54301330857574d358ab38c781d667ceff10d9a7 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_12) on Fri May 30 11:15:50 CDT 2008 -->
<TITLE>
JsGlobalScopeContainerInitializer
</TITLE>
<META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="JsGlobalScopeContainerInitializer";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JsGlobalScopeContainerInitializer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/eclipse/wst/jsdt/core/JSDScopeUtil.html" title="class in org.eclipse.wst.jsdt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeVariableInitializer.html" title="class in org.eclipse.wst.jsdt.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="JsGlobalScopeContainerInitializer.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.eclipse.wst.jsdt.core</FONT>
<BR>
Class JsGlobalScopeContainerInitializer</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainer</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/eclipse/wst/jsdt/libraries/BasicBrowserLibraryJsGlobalScopeContainerInitializer.html" title="class in org.eclipse.wst.jsdt.libraries">BasicBrowserLibraryJsGlobalScopeContainerInitializer</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/compiler/libraries/FireFoxLibInitializer.html" title="class in org.eclipse.wst.jsdt.core.compiler.libraries">FireFoxLibInitializer</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/compiler/libraries/InternetExplorerLibInitializer.html" title="class in org.eclipse.wst.jsdt.core.compiler.libraries">InternetExplorerLibInitializer</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public abstract class <B>JsGlobalScopeContainerInitializer</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainer</A></DL>
</PRE>
<P>
Abstract base implementation of all includepath container initializer.
Includepath variable containers are used in conjunction with the
"org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer" extension point.
<p>
Clients should subclass this class to implement a specific includepath
container initializer. The subclass must have a public 0-argument
constructor and a concrete implementation of <code>initialize</code>.
<p>
Multiple includepath containers can be registered, each of them declares
the container ID they can handle, so as to narrow the set of containers they
can resolve, in other words, a container initializer is guaranteed to only be
activated to resolve containers which match the ID they registered onto.
<p>
In case multiple container initializers collide on the same container ID, the first
registered one will be invoked.
<P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathEntry.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IIncludePathEntry</CODE></A>,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>Provisional API: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.</CODE></A></DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#ATTRIBUTE_NOT_SUPPORTED">ATTRIBUTE_NOT_SUPPORTED</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Status code indicating that an attribute is not supported.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#ATTRIBUTE_READ_ONLY">ATTRIBUTE_READ_ONLY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Status code indicating that an attribute is not modifiable.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.eclipse.wst.jsdt.core.IJsGlobalScopeContainer"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from interface org.eclipse.wst.jsdt.core.<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainer</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#K_APPLICATION">K_APPLICATION</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#K_DEFAULT_SYSTEM">K_DEFAULT_SYSTEM</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#K_SYSTEM">K_SYSTEM</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#JsGlobalScopeContainerInitializer()">JsGlobalScopeContainerInitializer</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new includepath container initializer.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#allowAttachJsDoc()">allowAttachJsDoc</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#canUpdateJsGlobalScopeContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">canUpdateJsGlobalScopeContainer</A></B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if this container initializer can be requested to perform updates
on its own container values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#containerSuperTypes()">containerSuperTypes</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns a String of all SuperTypes provided by this library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;IStatus</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getAccessRulesStatus(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">getAccessRulesStatus</A></B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the access rules attribute status according to this initializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;IStatus</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getAttributeStatus(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String)">getAttributeStatus</A></B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project,
java.lang.String&nbsp;attributeKey)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the extra attribute status according to this initializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathEntry.html" title="interface in org.eclipse.wst.jsdt.core">IIncludePathEntry</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getClasspathEntries()">getClasspathEntries</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getIncludepathEntries()"><CODE>getIncludepathEntries()</CODE></A> instead</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getComparisonID(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">getComparisonID</A></B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an object which identifies a container for comparison purpose.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getDescription()">getDescription</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answers a readable description of this container</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getDescription(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">getDescription</A></B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a readable description for a container path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getFailureContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">getFailureContainer</A></B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a includepath container that is used after this initializer failed to bind a includepath container
to a <code>IJsGlobalScopeContainer</code> for the given project.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.net.URI</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getHostPath(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">getHostPath</A></B>(IPath&nbsp;path,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathEntry.html" title="interface in org.eclipse.wst.jsdt.core">IIncludePathEntry</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getIncludepathEntries()">getIncludepathEntries</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answers the set of includepath entries this container is mapping to.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getInferenceID()">getInferenceID</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the id of the inference provider for this library</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getKind()">getKind</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answers the kind of this container.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;IPath</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getPath()">getPath</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answers the container path identifying this container.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;IStatus</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getSourceAttachmentStatus(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">getSourceAttachmentStatus</A></B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the source attachment attribute status according to this initializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#initialize(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">initialize</A></B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a includepath container to a <code>IJsGlobalScopeContainer</code> for a given project,
or silently fails if unable to do so.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#removeFromProject(org.eclipse.wst.jsdt.core.IJavaScriptProject)">removeFromProject</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#requestJsGlobalScopeContainerUpdate(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject, org.eclipse.wst.jsdt.core.IJsGlobalScopeContainer)">requestJsGlobalScopeContainerUpdate</A></B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainer</A>&nbsp;containerSuggestion)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Request a registered container definition to be updated according to a container suggestion.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#resolvedLibraryImport(java.lang.String)">resolvedLibraryImport</A></B>(java.lang.String&nbsp;realImport)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.eclipse.wst.jsdt.core.IJsGlobalScopeContainerInitializer"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface org.eclipse.wst.jsdt.core.<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#getLibraryLocation()">getLibraryLocation</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="ATTRIBUTE_NOT_SUPPORTED"><!-- --></A><H3>
ATTRIBUTE_NOT_SUPPORTED</H3>
<PRE>
public static final int <B>ATTRIBUTE_NOT_SUPPORTED</B></PRE>
<DL>
<DD>Status code indicating that an attribute is not supported.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getAccessRulesStatus(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><CODE>getAccessRulesStatus(IPath, IJavaScriptProject)</CODE></A>,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getAttributeStatus(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String)"><CODE>getAttributeStatus(IPath, IJavaScriptProject, String)</CODE></A>,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getSourceAttachmentStatus(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><CODE>getSourceAttachmentStatus(IPath, IJavaScriptProject)</CODE></A>,
<A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer.ATTRIBUTE_NOT_SUPPORTED">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="ATTRIBUTE_READ_ONLY"><!-- --></A><H3>
ATTRIBUTE_READ_ONLY</H3>
<PRE>
public static final int <B>ATTRIBUTE_READ_ONLY</B></PRE>
<DL>
<DD>Status code indicating that an attribute is not modifiable.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getAccessRulesStatus(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><CODE>getAccessRulesStatus(IPath, IJavaScriptProject)</CODE></A>,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getAttributeStatus(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String)"><CODE>getAttributeStatus(IPath, IJavaScriptProject, String)</CODE></A>,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getSourceAttachmentStatus(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><CODE>getSourceAttachmentStatus(IPath, IJavaScriptProject)</CODE></A>,
<A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer.ATTRIBUTE_READ_ONLY">Constant Field Values</A></DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="JsGlobalScopeContainerInitializer()"><!-- --></A><H3>
JsGlobalScopeContainerInitializer</H3>
<PRE>
public <B>JsGlobalScopeContainerInitializer</B>()</PRE>
<DL>
<DD>Creates a new includepath container initializer.
<P>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="initialize(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><!-- --></A><H3>
initialize</H3>
<PRE>
public void <B>initialize</B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)
throws CoreException</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#initialize(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">IJsGlobalScopeContainerInitializer</A></CODE></B></DD>
<DD>Binds a includepath container to a <code>IJsGlobalScopeContainer</code> for a given project,
or silently fails if unable to do so.
<p>
A container is identified by a container path, which must be formed of two segments.
The first segment is used as a unique identifier (which this initializer did register onto), and
the second segment can be used as an additional hint when performing the resolution.
<p>
The initializer is invoked if a container path needs to be resolved for a given project, and no
value for it was recorded so far. The implementation of the initializer would typically set the
corresponding container using <code>JavaScriptCore#setJsGlobalScopeContainer</code>.
<p>
A container initialization can be indirectly performed while attempting to resolve a project
includepath using <code>IJavaScriptProject#getResolvedClasspath(</code>; or directly when using
<code>JavaScriptCore#getJsGlobalScopeContainer</code>. During the initialization process, any attempt
to further obtain the same container will simply return <code>null</code> so as to avoid an
infinite regression of initializations.
<p>
A container initialization may also occur indirectly when setting a project includepath, as the operation
needs to resolve the includepath for validation purpose. While the operation is in progress, a referenced
container initializer may be invoked. If the initializer further tries to access the referring project includepath,
it will not see the new assigned includepath until the operation has completed. Note that once the JavaScript
change notification occurs (at the end of the operation), the model has been updated, and the project
includepath can be queried normally.
<p>
This method is called by the JavaScript model to give the party that defined
this particular kind of includepath container the chance to install
includepath container objects that will be used to convert includepath
container entries into simpler includepath entries. The method is typically
called exactly once for a given JavaScript project and includepath container
entry. This method must not be called by other clients.
<p>
There are a wide variety of conditions under which this method may be
invoked. To ensure that the implementation does not interfere with
correct functioning of the JavaScript model, the implementation should use
only the following JavaScript model APIs:
<ul>
<li><CODE>JavaScriptCore#setJsGlobalScopeContainer(IPath, IJavaScriptProject[], IJsGlobalScopeContainer[], org.eclipse.core.runtime.IProgressMonitor)</CODE></li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getJsGlobalScopeContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><CODE>JavaScriptCore.getJsGlobalScopeContainer(IPath, IJavaScriptProject)</CODE></A></li>
<li><CODE>JavaScriptCore#create(org.eclipse.core.resources.IWorkspaceRoot)</CODE></li>
<li><CODE>JavaScriptCore#create(org.eclipse.core.resources.IProject)</CODE></li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptModel.html#getJavaScriptProjects()"><CODE>IJavaScriptModel.getJavaScriptProjects()</CODE></A></li>
<li>JavaScript element operations marked as "handle-only"</li>
</ul>
The effects of using other JavaScript model APIs are unspecified.
</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#initialize(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">initialize</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>containerPath</CODE> - a two-segment path (ID/hint) identifying the container that needs
to be resolved<DD><CODE>project</CODE> - the JavaScript project in which context the container is to be resolved.
This allows generic containers to be bound with project specific values.
<DT><B>Throws:</B>
<DD><CODE>CoreException</CODE> - if an exception occurs during the initialization<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getJsGlobalScopeContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><CODE>JavaScriptCore.getJsGlobalScopeContainer(IPath, IJavaScriptProject)</CODE></A>,
<CODE>JavaScriptCore#setJsGlobalScopeContainer(IPath, IJavaScriptProject[], IJsGlobalScopeContainer[], org.eclipse.core.runtime.IProgressMonitor)</CODE>,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IJsGlobalScopeContainer</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="canUpdateJsGlobalScopeContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><!-- --></A><H3>
canUpdateJsGlobalScopeContainer</H3>
<PRE>
public boolean <B>canUpdateJsGlobalScopeContainer</B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#canUpdateJsGlobalScopeContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">IJsGlobalScopeContainerInitializer</A></CODE></B></DD>
<DD>Returns <code>true</code> 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
<code>JsGlobalScopeContainerInitializer#requestJsGlobalScopeContainerUpdate</code>/
<p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#canUpdateJsGlobalScopeContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">canUpdateJsGlobalScopeContainer</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>containerPath</CODE> - the path of the container which requires to be updated<DD><CODE>project</CODE> - the project for which the container is to be updated
<DT><B>Returns:</B><DD>returns <code>true</code> if the container can be updated</DL>
</DD>
</DL>
<HR>
<A NAME="requestJsGlobalScopeContainerUpdate(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject, org.eclipse.wst.jsdt.core.IJsGlobalScopeContainer)"><!-- --></A><H3>
requestJsGlobalScopeContainerUpdate</H3>
<PRE>
public void <B>requestJsGlobalScopeContainerUpdate</B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainer</A>&nbsp;containerSuggestion)
throws CoreException</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#requestJsGlobalScopeContainerUpdate(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject, org.eclipse.wst.jsdt.core.IJsGlobalScopeContainer)">IJsGlobalScopeContainerInitializer</A></CODE></B></DD>
<DD>Request a registered container definition to be updated according to a container suggestion. The container suggestion
only acts as a place-holder to pass along the information to update the matching container definition(s) held by the
container initializer. In particular, it is not expected to store the container suggestion as is, but rather adjust
the actual container definition based on suggested changes.
<p>
IMPORTANT: In reaction to receiving an update request, a container initializer will update the corresponding
container definition (after reconciling changes) at its earliest convenience, using
<code>JavaScriptCore#setJsGlobalScopeContainer(IPath, IJavaScriptProject[], IJsGlobalScopeContainer[], IProgressMonitor)</code>.
Until it does so, the update will not be reflected in the JavaScript Model.
<p>
In order to anticipate whether the container initializer allows to update its containers, the predicate
<code>JavaScriptCore#canUpdateJsGlobalScopeContainer</code> should be used.
<p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#requestJsGlobalScopeContainerUpdate(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject, org.eclipse.wst.jsdt.core.IJsGlobalScopeContainer)">requestJsGlobalScopeContainerUpdate</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>containerPath</CODE> - the path of the container which requires to be updated<DD><CODE>project</CODE> - the project for which the container is to be updated<DD><CODE>containerSuggestion</CODE> - a suggestion to update the corresponding container definition
<DT><B>Throws:</B>
<DD><CODE>CoreException</CODE> - when <code>JavaScriptCore#setJsGlobalScopeContainer</code> would throw any.<DT><B>See Also:</B><DD><CODE>JavaScriptCore#setJsGlobalScopeContainer(IPath, IJavaScriptProject[], IJsGlobalScopeContainer[], org.eclipse.core.runtime.IProgressMonitor)</CODE>,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#canUpdateJsGlobalScopeContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><CODE>canUpdateJsGlobalScopeContainer(IPath, IJavaScriptProject)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getDescription(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><!-- --></A><H3>
getDescription</H3>
<PRE>
public java.lang.String <B>getDescription</B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#getDescription(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">IJsGlobalScopeContainerInitializer</A></CODE></B></DD>
<DD>Returns a readable description for a container path. A readable description for a container path can be
used for improving the display of references to container, without actually needing to resolve them.
A good implementation should answer a description consistent with the description of the associated
target container (see <code>IJsGlobalScopeContainer.getDescription()</code>).
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#getDescription(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">getDescription</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>containerPath</CODE> - the path of the container which requires a readable description<DD><CODE>project</CODE> - the project from which the container is referenced
<DT><B>Returns:</B><DD>a string description of the container</DL>
</DD>
</DL>
<HR>
<A NAME="getFailureContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><!-- --></A><H3>
getFailureContainer</H3>
<PRE>
public <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainer</A> <B>getFailureContainer</B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#getFailureContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">IJsGlobalScopeContainerInitializer</A></CODE></B></DD>
<DD>Returns a includepath container that is used after this initializer failed to bind a includepath container
to a <code>IJsGlobalScopeContainer</code> for the given project. A non-<code>null</code>
failure container indicates that there will be no more request to initialize the given container
for the given project.
<p>
By default a non-<code>null</code> failure container with no includepath entries is returned.
Clients wishing to get a chance to run the initializer again should override this method
and return <code>null</code>.
</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#getFailureContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">getFailureContainer</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>containerPath</CODE> - the path of the container which failed to initialize<DD><CODE>project</CODE> - the project from which the container is referenced
<DT><B>Returns:</B><DD>the default failure container, or <code>null</code> if wishing to run the initializer again</DL>
</DD>
</DL>
<HR>
<A NAME="getComparisonID(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><!-- --></A><H3>
getComparisonID</H3>
<PRE>
public java.lang.Object <B>getComparisonID</B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#getComparisonID(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">IJsGlobalScopeContainerInitializer</A></CODE></B></DD>
<DD>Returns an object which identifies a container for comparison purpose. This allows
to eliminate redundant containers when accumulating includepath entries (e.g.
runtime includepath computation). When requesting a container comparison ID, one
should ensure using its corresponding container initializer. Indeed, a random container
initializer cannot be held responsible for determining comparison IDs for arbitrary
containers.
<p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#getComparisonID(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">getComparisonID</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>containerPath</CODE> - the path of the container which is being checked<DD><CODE>project</CODE> - the project for which the container is to being checked
<DT><B>Returns:</B><DD>returns an Object identifying the container for comparison</DL>
</DD>
</DL>
<HR>
<A NAME="getHostPath(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><!-- --></A><H3>
getHostPath</H3>
<PRE>
public java.net.URI <B>getHostPath</B>(IPath&nbsp;path,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#getHostPath(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)">getHostPath</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="allowAttachJsDoc()"><!-- --></A><H3>
allowAttachJsDoc</H3>
<PRE>
public boolean <B>allowAttachJsDoc</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#allowAttachJsDoc()">allowAttachJsDoc</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="containerSuperTypes()"><!-- --></A><H3>
containerSuperTypes</H3>
<PRE>
public java.lang.String[] <B>containerSuperTypes</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#containerSuperTypes()">IJsGlobalScopeContainerInitializer</A></CODE></B></DD>
<DD>returns a String of all SuperTypes provided by this library.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#containerSuperTypes()">containerSuperTypes</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="resolvedLibraryImport(java.lang.String)"><!-- --></A><H3>
resolvedLibraryImport</H3>
<PRE>
public java.lang.String[] <B>resolvedLibraryImport</B>(java.lang.String&nbsp;realImport)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#resolvedLibraryImport(java.lang.String)">resolvedLibraryImport</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainer</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getClasspathEntries()"><!-- --></A><H3>
getClasspathEntries</H3>
<PRE>
public <A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathEntry.html" title="interface in org.eclipse.wst.jsdt.core">IIncludePathEntry</A>[] <B>getClasspathEntries</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#getIncludepathEntries()"><CODE>getIncludepathEntries()</CODE></A> instead</I>
<P>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#getClasspathEntries()">IJsGlobalScopeContainer</A></CODE></B></DD>
<DD>Answers the set of includepath entries this container is mapping to.
<p>
The set of entries associated with a includepath container may contain any of the following:
<ul>
<li> library entries (<code>CPE_LIBRARY</code>) </li>
<li> project entries (<code>CPE_PROJECT</code>) </li>
</ul>
A includepath container can neither reference further includepath containers
or includepath variables.
</p>
<p>
This method is called by the JavaScript model when it needs to resolve this
includepath container entry into a list of library and project entries.
The method is typically called exactly once for a given JavaScript project,
and the resulting list of entries cached internally by the JavaScript model.
This method must not be called by other clients.
<p>
There are a wide variety of conditions under which this method may be
invoked. To ensure that the implementation does not interfere with
correct functioning of the JavaScript model, the implementation should use
only the following JavaScript model APIs:
<ul>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#newLibraryEntry(IPath, IPath, IPath, boolean)"><CODE>JavaScriptCore.newLibraryEntry(IPath, IPath, IPath, boolean)</CODE></A> and variants</li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#newProjectEntry(IPath, boolean)"><CODE>JavaScriptCore.newProjectEntry(IPath, boolean)</CODE></A> and variants</li>
<li><CODE>JavaScriptCore#create(org.eclipse.core.resources.IWorkspaceRoot)</CODE></li>
<li><CODE>JavaScriptCore#create(org.eclipse.core.resources.IProject)</CODE></li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptModel.html#getJavaScriptProjects()"><CODE>IJavaScriptModel.getJavaScriptProjects()</CODE></A></li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html#getRawIncludepath()"><CODE>IJavaScriptProject.getRawIncludepath()</CODE></A></li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html#readRawIncludepath()"><CODE>IJavaScriptProject.readRawIncludepath()</CODE></A></li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html#getOutputLocation()"><CODE>IJavaScriptProject.getOutputLocation()</CODE></A></li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html#readOutputLocation()"><CODE>IJavaScriptProject.readOutputLocation()</CODE></A></li>
<li>JavaScript element operations marked as "handle-only"</li>
</ul>
The effects of using other JavaScript model APIs are unspecified.
</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#getClasspathEntries()">getClasspathEntries</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>IIncludePathEntry[] - the includepath entries this container represents<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathEntry.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IIncludePathEntry</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getIncludepathEntries()"><!-- --></A><H3>
getIncludepathEntries</H3>
<PRE>
public <A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathEntry.html" title="interface in org.eclipse.wst.jsdt.core">IIncludePathEntry</A>[] <B>getIncludepathEntries</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#getIncludepathEntries()">IJsGlobalScopeContainer</A></CODE></B></DD>
<DD>Answers the set of includepath entries this container is mapping to.
<p>
The set of entries associated with a includepath container may contain any of the following:
<ul>
<li> library entries (<code>CPE_LIBRARY</code>) </li>
<li> project entries (<code>CPE_PROJECT</code>) </li>
</ul>
A includepath container can neither reference further includepath containers
or includepath variables.
</p>
<p>
This method is called by the JavaScript model when it needs to resolve this
includepath container entry into a list of library and project entries.
The method is typically called exactly once for a given JavaScript project,
and the resulting list of entries cached internally by the JavaScript model.
This method must not be called by other clients.
<p>
There are a wide variety of conditions under which this method may be
invoked. To ensure that the implementation does not interfere with
correct functioning of the JavaScript model, the implementation should use
only the following JavaScript model APIs:
<ul>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#newLibraryEntry(IPath, IPath, IPath, boolean)"><CODE>JavaScriptCore.newLibraryEntry(IPath, IPath, IPath, boolean)</CODE></A> and variants</li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#newProjectEntry(IPath, boolean)"><CODE>JavaScriptCore.newProjectEntry(IPath, boolean)</CODE></A> and variants</li>
<li><CODE>JavaScriptCore#create(org.eclipse.core.resources.IWorkspaceRoot)</CODE></li>
<li><CODE>JavaScriptCore#create(org.eclipse.core.resources.IProject)</CODE></li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptModel.html#getJavaScriptProjects()"><CODE>IJavaScriptModel.getJavaScriptProjects()</CODE></A></li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html#getRawIncludepath()"><CODE>IJavaScriptProject.getRawIncludepath()</CODE></A></li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html#readRawIncludepath()"><CODE>IJavaScriptProject.readRawIncludepath()</CODE></A></li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html#getOutputLocation()"><CODE>IJavaScriptProject.getOutputLocation()</CODE></A></li>
<li><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html#readOutputLocation()"><CODE>IJavaScriptProject.readOutputLocation()</CODE></A></li>
<li>JavaScript element operations marked as "handle-only"</li>
</ul>
The effects of using other JavaScript model APIs are unspecified.
</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#getIncludepathEntries()">getIncludepathEntries</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>IIncludePathEntry[] - the includepath entries this container represents<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathEntry.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IIncludePathEntry</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getDescription()"><!-- --></A><H3>
getDescription</H3>
<PRE>
public java.lang.String <B>getDescription</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#getDescription()">IJsGlobalScopeContainer</A></CODE></B></DD>
<DD>Answers a readable description of this container
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#getDescription()">getDescription</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>String - a string description of the container</DL>
</DD>
</DL>
<HR>
<A NAME="getKind()"><!-- --></A><H3>
getKind</H3>
<PRE>
public int <B>getKind</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#getKind()">IJsGlobalScopeContainer</A></CODE></B></DD>
<DD>Answers the kind of this container. Can be either:
<ul>
<li><code>K_APPLICATION</code> if this container maps to an application library</li>
<li><code>K_SYSTEM</code> if this container maps to a system library</li>
<li><code>K_DEFAULT_SYSTEM</code> if this container maps to a default system library (library
implicitly contributed by the runtime).</li>
</ul>
Typically, system containers should be placed first on a build path.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#getKind()">getKind</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the kind of this container</DL>
</DD>
</DL>
<HR>
<A NAME="getPath()"><!-- --></A><H3>
getPath</H3>
<PRE>
public IPath <B>getPath</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#getPath()">IJsGlobalScopeContainer</A></CODE></B></DD>
<DD>Answers the container path identifying this container.
A container path is formed by a first ID segment followed with extra segments, which
can be used as additional hints for resolving to this container.
<p>
The container ID is also used to identify a<code>JsGlobalScopeContainerInitializer</code>
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.
<p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html#getPath()">getPath</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>IPath - the container path that is associated with this container</DL>
</DD>
</DL>
<HR>
<A NAME="getAccessRulesStatus(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><!-- --></A><H3>
getAccessRulesStatus</H3>
<PRE>
public IStatus <B>getAccessRulesStatus</B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</PRE>
<DL>
<DD>Returns the access rules attribute status according to this initializer.
<p>
The returned <CODE>status</CODE> can have one of the following severities:
<ul>
<li><CODE>OK</CODE>: means that the attribute is supported
<strong>and</strong> is modifiable</li>
<li><CODE>ERROR</CODE>: means that either the attribute
is not supported or is not modifiable.<br>
In this case, the <CODE>code</CODE>will have
respectively the <A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#ATTRIBUTE_NOT_SUPPORTED"><CODE>ATTRIBUTE_NOT_SUPPORTED</CODE></A> value
or the <A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#ATTRIBUTE_READ_ONLY"><CODE>ATTRIBUTE_READ_ONLY</CODE></A> value.</li>
</ul>
</p><p>
The status message can contain more information.
</p><p>
If the subclass does not override this method, then the default behavior is
to return <CODE>OK</CODE> if and only if the includepath container can
be updated (see <A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#canUpdateJsGlobalScopeContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><CODE>canUpdateJsGlobalScopeContainer(IPath, IJavaScriptProject)</CODE></A>).
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>containerPath</CODE> - the path of the container which requires to be
updated<DD><CODE>project</CODE> - the project for which the container is to be updated
<DT><B>Returns:</B><DD>returns the access rules attribute status</DL>
</DD>
</DL>
<HR>
<A NAME="getAttributeStatus(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String)"><!-- --></A><H3>
getAttributeStatus</H3>
<PRE>
public IStatus <B>getAttributeStatus</B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project,
java.lang.String&nbsp;attributeKey)</PRE>
<DL>
<DD>Returns the extra attribute status according to this initializer.
<p>
The returned <CODE>status</CODE> can have one of the following severities:
<ul>
<li><CODE>OK</CODE>: means that the attribute is supported
<strong>and</strong> is modifiable</li>
<li><CODE>ERROR</CODE>: means that either the attribute
is not supported or is not modifiable.<br>
In this case, the <CODE>code</CODE>will have
respectively the <A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#ATTRIBUTE_NOT_SUPPORTED"><CODE>ATTRIBUTE_NOT_SUPPORTED</CODE></A> value
or the <A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#ATTRIBUTE_READ_ONLY"><CODE>ATTRIBUTE_READ_ONLY</CODE></A> value.</li>
</ul>
</p><p>
The status message can contain more information.
</p><p>
If the subclass does not override this method, then the default behavior is
to return <CODE>OK</CODE> if and only if the includepath container can
be updated (see <A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#canUpdateJsGlobalScopeContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><CODE>canUpdateJsGlobalScopeContainer(IPath, IJavaScriptProject)</CODE></A>).
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>containerPath</CODE> - the path of the container which requires to be
updated<DD><CODE>project</CODE> - the project for which the container is to be updated<DD><CODE>attributeKey</CODE> - the key of the extra attribute
<DT><B>Returns:</B><DD>returns the extra attribute status<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathAttribute.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IIncludePathAttribute</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getSourceAttachmentStatus(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><!-- --></A><H3>
getSourceAttachmentStatus</H3>
<PRE>
public IStatus <B>getSourceAttachmentStatus</B>(IPath&nbsp;containerPath,
<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</PRE>
<DL>
<DD>Returns the source attachment attribute status according to this initializer.
<p>
The returned <CODE>status</CODE> can have one of the following severities:
<ul>
<li><CODE>OK</CODE>: means that the attribute is supported
<strong>and</strong> is modifiable</li>
<li><CODE>ERROR</CODE>: means that either the attribute
is not supported or is not modifiable.<br>
In this case, the <CODE>code</CODE>will have
respectively the <A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#ATTRIBUTE_NOT_SUPPORTED"><CODE>ATTRIBUTE_NOT_SUPPORTED</CODE></A> value
or the <A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#ATTRIBUTE_READ_ONLY"><CODE>ATTRIBUTE_READ_ONLY</CODE></A> value.</li>
</ul>
</p><p>
The status message can contain more information.
</p><p>
If the subclass does not override this method, then the default behavior is
to return <CODE>OK</CODE> if and only if the includepath container can
be updated (see <A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html#canUpdateJsGlobalScopeContainer(IPath, org.eclipse.wst.jsdt.core.IJavaScriptProject)"><CODE>canUpdateJsGlobalScopeContainer(IPath, IJavaScriptProject)</CODE></A>).
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>containerPath</CODE> - the path of the container which requires to be
updated<DD><CODE>project</CODE> - the project for which the container is to be updated
<DT><B>Returns:</B><DD>returns the source attachment attribute status</DL>
</DD>
</DL>
<HR>
<A NAME="getInferenceID()"><!-- --></A><H3>
getInferenceID</H3>
<PRE>
public java.lang.String <B>getInferenceID</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#getInferenceID()">IJsGlobalScopeContainerInitializer</A></CODE></B></DD>
<DD>Get the id of the inference provider for this library
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#getInferenceID()">getInferenceID</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>inference provider id</DL>
</DD>
</DL>
<HR>
<A NAME="removeFromProject(org.eclipse.wst.jsdt.core.IJavaScriptProject)"><!-- --></A><H3>
removeFromProject</H3>
<PRE>
public void <B>removeFromProject</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;project)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html#removeFromProject(org.eclipse.wst.jsdt.core.IJavaScriptProject)">removeFromProject</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJsGlobalScopeContainerInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IJsGlobalScopeContainerInitializer</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JsGlobalScopeContainerInitializer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/eclipse/wst/jsdt/core/JSDScopeUtil.html" title="class in org.eclipse.wst.jsdt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/eclipse/wst/jsdt/core/JsGlobalScopeVariableInitializer.html" title="class in org.eclipse.wst.jsdt.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/eclipse/wst/jsdt/core/JsGlobalScopeContainerInitializer.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="JsGlobalScopeContainerInitializer.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>