| <!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:49 CDT 2008 --> |
| <TITLE> |
| ITypeHierarchy |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.core.ITypeHierarchy interface"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="ITypeHierarchy"; |
| } |
| </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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ITypeHierarchy.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchyChangedListener.html" title="interface 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/ITypeHierarchy.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="ITypeHierarchy.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <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> |
| Interface ITypeHierarchy</H2> |
| <HR> |
| <DL> |
| <DT><PRE>public interface <B>ITypeHierarchy</B></DL> |
| </PRE> |
| |
| <P> |
| A type hierarchy provides navigations between a type and its resolved |
| supertypes and subtypes for a specific type or for all types within a region. |
| Supertypes may extend outside of the type hierarchy's region in which it was |
| created such that the root of the hierarchy is always included. |
| <p> |
| A type hierarchy is static and can become stale. Although consistent when |
| created, it does not automatically track changes in the model. |
| As changes in the model potentially invalidate the hierarchy, change notifications |
| are sent to registered <code>ITypeHierarchyChangedListener</code>s. Listeners should |
| use the <code>exists</code> method to determine if the hierarchy has become completely |
| invalid (for example, when the type or project the hierarchy was created on |
| has been removed). To refresh a hierarchy, use the <code>refresh</code> method. |
| </p> |
| <p> |
| The type hierarchy may contain cycles due to malformed supertype declarations. |
| Most type hierarchy queries are oblivious to cycles; the <code>getAll* </code> |
| methods are implemented such that they are unaffected by cycles. |
| </p> |
| <p> |
| This interface is not intended to be implemented by clients. |
| </p> |
| |
| 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. |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| |
| <!-- ========== 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> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#addTypeHierarchyChangedListener(org.eclipse.wst.jsdt.core.ITypeHierarchyChangedListener)">addTypeHierarchyChangedListener</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchyChangedListener.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchyChangedListener</A> listener)</CODE> |
| |
| <BR> |
| Adds the given listener for changes to this type hierarchy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#contains(org.eclipse.wst.jsdt.core.IType)">contains</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</CODE> |
| |
| <BR> |
| Returns whether the given type is part of this hierarchy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#exists()">exists</A></B>()</CODE> |
| |
| <BR> |
| Returns whether the type and project this hierarchy was created on exist.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getAllClasses()">getAllClasses</A></B>()</CODE> |
| |
| <BR> |
| Returns all classes in this type hierarchy's graph, in no particular |
| order.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getAllInterfaces()">getAllInterfaces</A></B>()</CODE> |
| |
| <BR> |
| Returns all interfaces in this type hierarchy's graph, in no particular |
| order.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getAllSubtypes(org.eclipse.wst.jsdt.core.IType)">getAllSubtypes</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</CODE> |
| |
| <BR> |
| Returns all resolved subtypes (direct and indirect) of the |
| given type, in no particular order, limited to the |
| types in this type hierarchy's graph.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getAllSuperclasses(org.eclipse.wst.jsdt.core.IType)">getAllSuperclasses</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</CODE> |
| |
| <BR> |
| Returns all resolved superclasses of the |
| given class, in bottom-up order.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getAllSuperInterfaces(org.eclipse.wst.jsdt.core.IType)">getAllSuperInterfaces</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</CODE> |
| |
| <BR> |
| Returns all resolved superinterfaces (direct and indirect) of the given type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getAllSupertypes(org.eclipse.wst.jsdt.core.IType)">getAllSupertypes</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</CODE> |
| |
| <BR> |
| Returns all resolved supertypes of the |
| given type, in bottom-up order.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getAllTypes()">getAllTypes</A></B>()</CODE> |
| |
| <BR> |
| Returns all types in this type hierarchy's graph, in no particular |
| order.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getCachedFlags(org.eclipse.wst.jsdt.core.IType)">getCachedFlags</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</CODE> |
| |
| <BR> |
| Return the flags associated with the given type (would be equivalent to <code>IMember.getFlags()</code>), |
| or <code>-1</code> if this information wasn't cached on the hierarchy during its computation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getExtendingInterfaces(org.eclipse.wst.jsdt.core.IType)">getExtendingInterfaces</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</CODE> |
| |
| <BR> |
| Returns all interfaces resolved to extend the given interface, |
| in no particular order, limited to the interfaces in this |
| hierarchy's graph.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getImplementingClasses(org.eclipse.wst.jsdt.core.IType)">getImplementingClasses</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</CODE> |
| |
| <BR> |
| Returns all classes resolved to implement the given interface, |
| in no particular order, limited to the classes in this type |
| hierarchy's graph.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getRootClasses()">getRootClasses</A></B>()</CODE> |
| |
| <BR> |
| Returns all classes in the graph which have no resolved superclass, |
| in no particular order.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getRootInterfaces()">getRootInterfaces</A></B>()</CODE> |
| |
| <BR> |
| Returns all interfaces in the graph which have no resolved superinterfaces, |
| in no particular order.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getSubclasses(org.eclipse.wst.jsdt.core.IType)">getSubclasses</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</CODE> |
| |
| <BR> |
| Returns the direct resolved subclasses of the given class, |
| in no particular order, limited to the classes in this |
| type hierarchy's graph.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getSubtypes(org.eclipse.wst.jsdt.core.IType)">getSubtypes</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</CODE> |
| |
| <BR> |
| Returns the direct resolved subtypes of the given type, |
| in no particular order, limited to the types in this |
| type hierarchy's graph.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getSuperclass(org.eclipse.wst.jsdt.core.IType)">getSuperclass</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</CODE> |
| |
| <BR> |
| Returns the resolved superclass of the given class, |
| or <code>null</code> if the given class has no superclass, |
| the superclass could not be resolved, or if the given |
| type is an interface.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getSuperInterfaces(org.eclipse.wst.jsdt.core.IType)">getSuperInterfaces</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</CODE> |
| |
| <BR> |
| Returns the direct resolved interfaces that the given type implements or extends, |
| in no particular order, limited to the interfaces in this type |
| hierarchy's graph.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getSupertypes(org.eclipse.wst.jsdt.core.IType)">getSupertypes</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</CODE> |
| |
| <BR> |
| Returns the resolved supertypes of the given type, |
| in no particular order, limited to the types in this |
| type hierarchy's graph.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#getType()">getType</A></B>()</CODE> |
| |
| <BR> |
| Returns the type this hierarchy was computed for.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#refresh(IProgressMonitor)">refresh</A></B>(IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Re-computes the type hierarchy reporting progress.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#removeTypeHierarchyChangedListener(org.eclipse.wst.jsdt.core.ITypeHierarchyChangedListener)">removeTypeHierarchyChangedListener</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchyChangedListener.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchyChangedListener</A> listener)</CODE> |
| |
| <BR> |
| Removes the given listener from this type hierarchy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#store(java.io.OutputStream, IProgressMonitor)">store</A></B>(java.io.OutputStream outputStream, |
| IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Stores the type hierarchy in an output stream.</TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ 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="addTypeHierarchyChangedListener(org.eclipse.wst.jsdt.core.ITypeHierarchyChangedListener)"><!-- --></A><H3> |
| addTypeHierarchyChangedListener</H3> |
| <PRE> |
| void <B>addTypeHierarchyChangedListener</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchyChangedListener.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchyChangedListener</A> listener)</PRE> |
| <DL> |
| <DD>Adds the given listener for changes to this type hierarchy. Listeners are |
| notified when this type hierarchy changes and needs to be refreshed. |
| Has no effect if an identical listener is already registered. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="contains(org.eclipse.wst.jsdt.core.IType)"><!-- --></A><H3> |
| contains</H3> |
| <PRE> |
| boolean <B>contains</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</PRE> |
| <DL> |
| <DD>Returns whether the given type is part of this hierarchy. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the given type |
| <DT><B>Returns:</B><DD>true if the given type is part of this hierarchy, false otherwise</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="exists()"><!-- --></A><H3> |
| exists</H3> |
| <PRE> |
| boolean <B>exists</B>()</PRE> |
| <DL> |
| <DD>Returns whether the type and project this hierarchy was created on exist. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if the type and project this hierarchy was created on exist, false otherwise</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAllClasses()"><!-- --></A><H3> |
| getAllClasses</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getAllClasses</B>()</PRE> |
| <DL> |
| <DD>Returns all classes in this type hierarchy's graph, in no particular |
| order. Any classes in the creation region which were not resolved to |
| have any subtypes or supertypes are not included in the result. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>all classes in this type hierarchy's graph</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAllInterfaces()"><!-- --></A><H3> |
| getAllInterfaces</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getAllInterfaces</B>()</PRE> |
| <DL> |
| <DD>Returns all interfaces in this type hierarchy's graph, in no particular |
| order. Any interfaces in the creation region which were not resolved to |
| have any subtypes or supertypes are not included in the result. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>all interfaces in this type hierarchy's graph</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAllSubtypes(org.eclipse.wst.jsdt.core.IType)"><!-- --></A><H3> |
| getAllSubtypes</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getAllSubtypes</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</PRE> |
| <DL> |
| <DD>Returns all resolved subtypes (direct and indirect) of the |
| given type, in no particular order, limited to the |
| types in this type hierarchy's graph. An empty array |
| is returned if there are no resolved subtypes for the |
| given type. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the given type |
| <DT><B>Returns:</B><DD>all resolved subtypes (direct and indirect) of the given type</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAllSuperclasses(org.eclipse.wst.jsdt.core.IType)"><!-- --></A><H3> |
| getAllSuperclasses</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getAllSuperclasses</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</PRE> |
| <DL> |
| <DD>Returns all resolved superclasses of the |
| given class, in bottom-up order. An empty array |
| is returned if there are no resolved superclasses for the |
| given class. |
| |
| <p>NOTE: once a type hierarchy has been created, it is more efficient to |
| query the hierarchy for superclasses than to query a class recursively up |
| the superclass chain. Querying an element performs a dynamic resolution, |
| whereas the hierarchy returns a pre-computed result. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the given type |
| <DT><B>Returns:</B><DD>all resolved superclasses of the given class, in bottom-up order, an empty |
| array if none.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAllSuperInterfaces(org.eclipse.wst.jsdt.core.IType)"><!-- --></A><H3> |
| getAllSuperInterfaces</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getAllSuperInterfaces</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</PRE> |
| <DL> |
| <DD>Returns all resolved superinterfaces (direct and indirect) of the given type. |
| If the given type is a class, this includes all superinterfaces of all superclasses. |
| An empty array is returned if there are no resolved superinterfaces for the |
| given type. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| |
| <p>NOTE: once a type hierarchy has been created, it is more efficient to |
| query the hierarchy for superinterfaces than to query a type recursively. |
| Querying an element performs a dynamic resolution, |
| whereas the hierarchy returns a pre-computed result. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the given type |
| <DT><B>Returns:</B><DD>all resolved superinterfaces (direct and indirect) of the given type, an empty array if none</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAllSupertypes(org.eclipse.wst.jsdt.core.IType)"><!-- --></A><H3> |
| getAllSupertypes</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getAllSupertypes</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</PRE> |
| <DL> |
| <DD>Returns all resolved supertypes of the |
| given type, in bottom-up order. An empty array |
| is returned if there are no resolved supertypes for the |
| given type. |
| </p><p>NOTE: once a type hierarchy has been created, it is more efficient to |
| query the hierarchy for supertypes than to query a type recursively up |
| the supertype chain. Querying an element performs a dynamic resolution, |
| whereas the hierarchy returns a pre-computed result. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the given type |
| <DT><B>Returns:</B><DD>all resolved supertypes of the given class, in bottom-up order, an empty array |
| if none</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAllTypes()"><!-- --></A><H3> |
| getAllTypes</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getAllTypes</B>()</PRE> |
| <DL> |
| <DD>Returns all types in this type hierarchy's graph, in no particular |
| order. Any types in the creation region which were not resolved to |
| have any subtypes or supertypes are not included in the result. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>all types in this type hierarchy's grap</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getCachedFlags(org.eclipse.wst.jsdt.core.IType)"><!-- --></A><H3> |
| getCachedFlags</H3> |
| <PRE> |
| int <B>getCachedFlags</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</PRE> |
| <DL> |
| <DD>Return the flags associated with the given type (would be equivalent to <code>IMember.getFlags()</code>), |
| or <code>-1</code> if this information wasn't cached on the hierarchy during its computation. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the given type |
| <DT><B>Returns:</B><DD>the modifier flags for this member<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/Flags.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Flags</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getExtendingInterfaces(org.eclipse.wst.jsdt.core.IType)"><!-- --></A><H3> |
| getExtendingInterfaces</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getExtendingInterfaces</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</PRE> |
| <DL> |
| <DD>Returns all interfaces resolved to extend the given interface, |
| in no particular order, limited to the interfaces in this |
| hierarchy's graph. |
| Returns an empty collection if the given type is a class, or |
| if no interfaces were resolved to extend the given interface. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the given type |
| <DT><B>Returns:</B><DD>all interfaces resolved to extend the given interface limited to the interfaces in this |
| hierarchy's graph, an empty array if none.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getImplementingClasses(org.eclipse.wst.jsdt.core.IType)"><!-- --></A><H3> |
| getImplementingClasses</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getImplementingClasses</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</PRE> |
| <DL> |
| <DD>Returns all classes resolved to implement the given interface, |
| in no particular order, limited to the classes in this type |
| hierarchy's graph. Returns an empty collection if the given type is a |
| class, or if no classes were resolved to implement the given |
| interface. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the given type |
| <DT><B>Returns:</B><DD>all classes resolved to implement the given interface limited to the classes in this type |
| hierarchy's graph, an empty array if none</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRootClasses()"><!-- --></A><H3> |
| getRootClasses</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getRootClasses</B>()</PRE> |
| <DL> |
| <DD>Returns all classes in the graph which have no resolved superclass, |
| in no particular order. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>all classes in the graph which have no resolved superclass</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRootInterfaces()"><!-- --></A><H3> |
| getRootInterfaces</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getRootInterfaces</B>()</PRE> |
| <DL> |
| <DD>Returns all interfaces in the graph which have no resolved superinterfaces, |
| in no particular order. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>all interfaces in the graph which have no resolved superinterfaces</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSubclasses(org.eclipse.wst.jsdt.core.IType)"><!-- --></A><H3> |
| getSubclasses</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getSubclasses</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</PRE> |
| <DL> |
| <DD>Returns the direct resolved subclasses of the given class, |
| in no particular order, limited to the classes in this |
| type hierarchy's graph. |
| Returns an empty collection if the given type is an interface, |
| or if no classes were resolved to be subclasses of the given |
| class. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the given type |
| <DT><B>Returns:</B><DD>the direct resolved subclasses of the given class limited to the classes in this |
| type hierarchy's graph, an empty collection if none.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSubtypes(org.eclipse.wst.jsdt.core.IType)"><!-- --></A><H3> |
| getSubtypes</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getSubtypes</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</PRE> |
| <DL> |
| <DD>Returns the direct resolved subtypes of the given type, |
| in no particular order, limited to the types in this |
| type hierarchy's graph. |
| If the type is a class, this returns the resolved subclasses. |
| If the type is an interface, this returns both the classes which implement |
| the interface and the interfaces which extend it. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the given type |
| <DT><B>Returns:</B><DD>the direct resolved subtypes of the given type limited to the types in this |
| type hierarchy's graph</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSuperclass(org.eclipse.wst.jsdt.core.IType)"><!-- --></A><H3> |
| getSuperclass</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> <B>getSuperclass</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</PRE> |
| <DL> |
| <DD>Returns the resolved superclass of the given class, |
| or <code>null</code> if the given class has no superclass, |
| the superclass could not be resolved, or if the given |
| type is an interface. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the given type |
| <DT><B>Returns:</B><DD>the resolved superclass of the given class, |
| or <code>null</code> if the given class has no superclass, |
| the superclass could not be resolved, or if the given |
| type is an interface</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSuperInterfaces(org.eclipse.wst.jsdt.core.IType)"><!-- --></A><H3> |
| getSuperInterfaces</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getSuperInterfaces</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</PRE> |
| <DL> |
| <DD>Returns the direct resolved interfaces that the given type implements or extends, |
| in no particular order, limited to the interfaces in this type |
| hierarchy's graph. |
| For classes, this gives the interfaces that the class implements. |
| For interfaces, this gives the interfaces that the interface extends. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the given type |
| <DT><B>Returns:</B><DD>the direct resolved interfaces that the given type implements or extends limited to the interfaces in this type |
| hierarchy's graph</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSupertypes(org.eclipse.wst.jsdt.core.IType)"><!-- --></A><H3> |
| getSupertypes</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getSupertypes</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type)</PRE> |
| <DL> |
| <DD>Returns the resolved supertypes of the given type, |
| in no particular order, limited to the types in this |
| type hierarchy's graph. |
| For classes, this returns its superclass and the interfaces that the class implements. |
| For interfaces, this returns the interfaces that the interface extends. As a consequence |
| <code>java.lang.Object</code> is NOT considered to be a supertype of any interface |
| type. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the given type |
| <DT><B>Returns:</B><DD>the resolved supertypes of the given type limited to the types in this |
| type hierarchy's graph</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getType()"><!-- --></A><H3> |
| getType</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> <B>getType</B>()</PRE> |
| <DL> |
| <DD>Returns the type this hierarchy was computed for. |
| Returns <code>null</code> if this hierarchy was computed for a region. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the type this hierarchy was computed for</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="refresh(IProgressMonitor)"><!-- --></A><H3> |
| refresh</H3> |
| <PRE> |
| void <B>refresh</B>(IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Re-computes the type hierarchy reporting progress. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if unable to refresh the hierarchy</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeTypeHierarchyChangedListener(org.eclipse.wst.jsdt.core.ITypeHierarchyChangedListener)"><!-- --></A><H3> |
| removeTypeHierarchyChangedListener</H3> |
| <PRE> |
| void <B>removeTypeHierarchyChangedListener</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchyChangedListener.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchyChangedListener</A> listener)</PRE> |
| <DL> |
| <DD>Removes the given listener from this type hierarchy. |
| Has no affect if an identical listener is not registered. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="store(java.io.OutputStream, IProgressMonitor)"><!-- --></A><H3> |
| store</H3> |
| <PRE> |
| void <B>store</B>(java.io.OutputStream outputStream, |
| IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Stores the type hierarchy in an output stream. This stored hierarchy can be load by |
| IType#loadTypeHierachy(IJavaScriptProject, InputStream, IProgressMonitor). |
| Listeners of this hierarchy are not stored. |
| |
| Only hierarchies created by the following methods can be store: |
| <ul> |
| <li>IType#newSupertypeHierarchy(IProgressMonitor)</li> |
| <li>IType#newTypeHierarchy(IJavaScriptProject, IProgressMonitor)</li> |
| <li>IType#newTypeHierarchy(IProgressMonitor)</li> |
| </ul> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>outputStream</CODE> - output stream where the hierarchy will be stored<DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if unable to store the hierarchy in the ouput stream<DT><B>Since:</B></DT> |
| <DD>2.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#loadTypeHierachy(java.io.InputStream, IProgressMonitor)"><CODE>IType.loadTypeHierachy(java.io.InputStream, IProgressMonitor)</CODE></A></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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ITypeHierarchy.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchyChangedListener.html" title="interface 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/ITypeHierarchy.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="ITypeHierarchy.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| </BODY> |
| </HTML> |