<!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) on Wed Nov 22 10:48:22 MSK 2006 --> <TITLE> ParseTreeOutliner </TITLE> <META NAME="keywords" CONTENT="net.sf.colorer.eclipse.outline.ParseTreeOutliner class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="ParseTreeOutliner"; } </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="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-all.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="../../../../../net/sf/colorer/eclipse/outline/OutlineSchemeElement.html" title="class in net.sf.colorer.eclipse.outline"><B>PREV CLASS</B></A> <A HREF="../../../../../net/sf/colorer/eclipse/outline/WorkbenchOutliner.html" title="class in net.sf.colorer.eclipse.outline"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?net/sf/colorer/eclipse/outline/ParseTreeOutliner.html" target="_top"><B>FRAMES</B></A> <A HREF="ParseTreeOutliner.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 | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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"> net.sf.colorer.eclipse.outline</FONT> <BR> Class ParseTreeOutliner</H2> <PRE> java.lang.Object <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.colorer.eclipse.outline.ParseTreeOutliner</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html" title="interface in net.sf.colorer.eclipse.outline">IWorkbenchOutlineSource</A>, <A HREF="../../../../../net/sf/colorer/editor/EditorListener.html" title="interface in net.sf.colorer.editor">EditorListener</A>, <A HREF="../../../../../net/sf/colorer/editor/IOutlineSource.html" title="interface in net.sf.colorer.editor">IOutlineSource</A>, <A HREF="../../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>ParseTreeOutliner</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html" title="interface in net.sf.colorer.eclipse.outline">IWorkbenchOutlineSource</A>, <A HREF="../../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A>, <A HREF="../../../../../net/sf/colorer/editor/EditorListener.html" title="interface in net.sf.colorer.editor">EditorListener</A></DL> </PRE> <P> Object used to store parse tree and showup it in Outline view <P> <P> <HR> <P> <!-- ======== 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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#ParseTreeOutliner()">ParseTreeOutliner</A></B>()</CODE> <BR> </TD> </TR> </TABLE> <!-- ========== 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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#addListener(net.sf.colorer.editor.OutlineListener)">addListener</A></B>(<A HREF="../../../../../net/sf/colorer/editor/OutlineListener.html" title="interface in net.sf.colorer.editor">OutlineListener</A> listener)</CODE> <BR> </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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#addRegion(int, java.lang.String, int, int, net.sf.colorer.Region)">addRegion</A></B>(int lno, java.lang.String line, int sx, int ex, <A HREF="../../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region)</CODE> <BR> Informs handler about lexical region in line.</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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#attachOutliner(net.sf.colorer.swt.TextColorer)">attachOutliner</A></B>(<A HREF="../../../../../net/sf/colorer/swt/TextColorer.html" title="class in net.sf.colorer.swt">TextColorer</A> editor)</CODE> <BR> Attaches the outliner, specified by this interface to the editor, causing this outliner to recieve parse information.</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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#clear()">clear</A></B>()</CODE> <BR> Cleans out current outline elements.</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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#clear(java.util.Vector, int)">clear</A></B>(java.util.Vector list, int topLine)</CODE> <BR> </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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#clearLine(int, java.lang.String)">clearLine</A></B>(int lno, java.lang.String line)</CODE> <BR> Clear line event.</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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#detachOutliner(net.sf.colorer.swt.TextColorer)">detachOutliner</A></B>(<A HREF="../../../../../net/sf/colorer/swt/TextColorer.html" title="class in net.sf.colorer.swt">TextColorer</A> editor)</CODE> <BR> Detaches the outliner, specified by this interface</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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#endParsing(int)">endParsing</A></B>(int lno)</CODE> <BR> End of text parsing.</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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#enterScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)">enterScheme</A></B>(int lno, java.lang.String line, int sx, int ex, <A HREF="../../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region, java.lang.String scheme)</CODE> <BR> Informs handler about entering into specified scheme.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#getAdapter(java.lang.Class)">getAdapter</A></B>(java.lang.Class adapter)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.Object[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#getChildren(java.lang.Object)">getChildren</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#getFilter()">getFilter</A></B>()</CODE> <BR> Returns filter region, used by this handler.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> ImageDescriptor</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#getImageDescriptor(java.lang.Object)">getImageDescriptor</A></B>(java.lang.Object object)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#getLabel(java.lang.Object)">getLabel</A></B>(java.lang.Object o)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#getParent(java.lang.Object)">getParent</A></B>(java.lang.Object o)</CODE> <BR> </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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#leaveScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)">leaveScheme</A></B>(int lno, java.lang.String line, int sx, int ex, <A HREF="../../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region, java.lang.String scheme)</CODE> <BR> Informs handler about leaveing specified scheme.</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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#modifyEvent(int)">modifyEvent</A></B>(int topLine)</CODE> <BR> Informs EditorListener object about text modification event.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#notifyUpdate()">notifyUpdate</A></B>()</CODE> <BR> </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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#removeListener(net.sf.colorer.editor.OutlineListener)">removeListener</A></B>(<A HREF="../../../../../net/sf/colorer/editor/OutlineListener.html" title="interface in net.sf.colorer.editor">OutlineListener</A> listener)</CODE> <BR> </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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#setHierarchy(boolean)">setHierarchy</A></B>(boolean hierarchy)</CODE> <BR> </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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#setSorting(boolean)">setSorting</A></B>(boolean sorting)</CODE> <BR> </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="../../../../../net/sf/colorer/eclipse/outline/ParseTreeOutliner.html#startParsing(int)">startParsing</A></B>(int lno)</CODE> <BR> Start of text parsing.</TD> </TR> </TABLE> <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>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ========= 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="ParseTreeOutliner()"><!-- --></A><H3> ParseTreeOutliner</H3> <PRE> public <B>ParseTreeOutliner</B>()</PRE> <DL> </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="getFilter()"><!-- --></A><H3> getFilter</H3> <PRE> public <A HREF="../../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> <B>getFilter</B>()</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#getFilter()">RegionHandler</A></CODE></B></DD> <DD>Returns filter region, used by this handler. This region is used internally to filter parser stream and speedup JNI switches. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#getFilter()">getFilter</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="clear()"><!-- --></A><H3> clear</H3> <PRE> public void <B>clear</B>()</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html#clear()">IWorkbenchOutlineSource</A></CODE></B></DD> <DD>Cleans out current outline elements. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html#clear()">clear</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html" title="interface in net.sf.colorer.eclipse.outline">IWorkbenchOutlineSource</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="clear(java.util.Vector, int)"><!-- --></A><H3> clear</H3> <PRE> public void <B>clear</B>(java.util.Vector list, int topLine)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="startParsing(int)"><!-- --></A><H3> startParsing</H3> <PRE> public void <B>startParsing</B>(int lno)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#startParsing(int)">RegionHandler</A></CODE></B></DD> <DD>Start of text parsing. Called only once, when TextParser starts parsing of the specified block of text. All other event messages comes between this call and endParsing call. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#startParsing(int)">startParsing</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>lno</CODE> - Start line number</DL> </DD> </DL> <HR> <A NAME="endParsing(int)"><!-- --></A><H3> endParsing</H3> <PRE> public void <B>endParsing</B>(int lno)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#endParsing(int)">RegionHandler</A></CODE></B></DD> <DD>End of text parsing. Called only once, when TextParser stops parsing of the specified block of text. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#endParsing(int)">endParsing</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>lno</CODE> - End line number</DL> </DD> </DL> <HR> <A NAME="clearLine(int, java.lang.String)"><!-- --></A><H3> clearLine</H3> <PRE> public void <B>clearLine</B>(int lno, java.lang.String line)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#clearLine(int, java.lang.String)">RegionHandler</A></CODE></B></DD> <DD>Clear line event. Called once for each parsed text line, when TextParser starts to parse specified line of text. This method is called before any of the region information passed, and used often to clear internal handler structure of this line before adding new one. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#clearLine(int, java.lang.String)">clearLine</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>lno</CODE> - Line number</DL> </DD> </DL> <HR> <A NAME="addRegion(int, java.lang.String, int, int, net.sf.colorer.Region)"><!-- --></A><H3> addRegion</H3> <PRE> public void <B>addRegion</B>(int lno, java.lang.String line, int sx, int ex, <A HREF="../../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#addRegion(int, java.lang.String, int, int, net.sf.colorer.Region)">RegionHandler</A></CODE></B></DD> <DD>Informs handler about lexical region in line. This is a basic method, wich transfer information from parser to application. Positions of different passed regions can be overlapped. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#addRegion(int, java.lang.String, int, int, net.sf.colorer.Region)">addRegion</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>lno</CODE> - Current line number<DD><CODE>sx</CODE> - Start X position of region in line<DD><CODE>ex</CODE> - End X position of region in line<DD><CODE>region</CODE> - Region information</DL> </DD> </DL> <HR> <A NAME="enterScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)"><!-- --></A><H3> enterScheme</H3> <PRE> public void <B>enterScheme</B>(int lno, java.lang.String line, int sx, int ex, <A HREF="../../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region, java.lang.String scheme)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#enterScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)">RegionHandler</A></CODE></B></DD> <DD>Informs handler about entering into specified scheme. Parameter <code>region</code> is used to specify scheme background region information. If text is parsed not from the first line, this method is called with fake parameters to compensate required scheme structure. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#enterScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)">enterScheme</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>lno</CODE> - Current line number<DD><CODE>sx</CODE> - Start X position of region in line<DD><CODE>ex</CODE> - End X position of region in line<DD><CODE>region</CODE> - Scheme Region information (background)<DD><CODE>scheme</CODE> - Additional Scheme information</DL> </DD> </DL> <HR> <A NAME="leaveScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)"><!-- --></A><H3> leaveScheme</H3> <PRE> public void <B>leaveScheme</B>(int lno, java.lang.String line, int sx, int ex, <A HREF="../../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region, java.lang.String scheme)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#leaveScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)">RegionHandler</A></CODE></B></DD> <DD>Informs handler about leaveing specified scheme. Parameter <code>region</code> is used to specify scheme background region information. If text parse process ends, but current schemes stack is not balanced (this can happends because of bad balanced structure of source text, or partial text parse) this method is <b>not</b> called for unbalanced levels. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html#leaveScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)">leaveScheme</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>lno</CODE> - Current line number<DD><CODE>sx</CODE> - Start X position of region in line<DD><CODE>ex</CODE> - End X position of region in line<DD><CODE>region</CODE> - Scheme Region information (background)<DD><CODE>scheme</CODE> - Additional Scheme information</DL> </DD> </DL> <HR> <A NAME="modifyEvent(int)"><!-- --></A><H3> modifyEvent</H3> <PRE> public void <B>modifyEvent</B>(int topLine)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/colorer/editor/EditorListener.html#modifyEvent(int)">EditorListener</A></CODE></B></DD> <DD>Informs EditorListener object about text modification event. All the text becomes invalid after the specified line. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/editor/EditorListener.html#modifyEvent(int)">modifyEvent</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/editor/EditorListener.html" title="interface in net.sf.colorer.editor">EditorListener</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>topLine</CODE> - Topmost modified line of text.</DL> </DD> </DL> <HR> <A NAME="getChildren(java.lang.Object)"><!-- --></A><H3> getChildren</H3> <PRE> public java.lang.Object[] <B>getChildren</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getImageDescriptor(java.lang.Object)"><!-- --></A><H3> getImageDescriptor</H3> <PRE> public ImageDescriptor <B>getImageDescriptor</B>(java.lang.Object object)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getLabel(java.lang.Object)"><!-- --></A><H3> getLabel</H3> <PRE> public java.lang.String <B>getLabel</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getParent(java.lang.Object)"><!-- --></A><H3> getParent</H3> <PRE> public java.lang.Object <B>getParent</B>(java.lang.Object o)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getAdapter(java.lang.Class)"><!-- --></A><H3> getAdapter</H3> <PRE> public java.lang.Object <B>getAdapter</B>(java.lang.Class adapter)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setHierarchy(boolean)"><!-- --></A><H3> setHierarchy</H3> <PRE> public void <B>setHierarchy</B>(boolean hierarchy)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html#setHierarchy(boolean)">setHierarchy</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html" title="interface in net.sf.colorer.eclipse.outline">IWorkbenchOutlineSource</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setSorting(boolean)"><!-- --></A><H3> setSorting</H3> <PRE> public void <B>setSorting</B>(boolean sorting)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html#setSorting(boolean)">setSorting</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html" title="interface in net.sf.colorer.eclipse.outline">IWorkbenchOutlineSource</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="attachOutliner(net.sf.colorer.swt.TextColorer)"><!-- --></A><H3> attachOutliner</H3> <PRE> public void <B>attachOutliner</B>(<A HREF="../../../../../net/sf/colorer/swt/TextColorer.html" title="class in net.sf.colorer.swt">TextColorer</A> editor)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html#attachOutliner(net.sf.colorer.swt.TextColorer)">IWorkbenchOutlineSource</A></CODE></B></DD> <DD>Attaches the outliner, specified by this interface to the editor, causing this outliner to recieve parse information. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html#attachOutliner(net.sf.colorer.swt.TextColorer)">attachOutliner</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html" title="interface in net.sf.colorer.eclipse.outline">IWorkbenchOutlineSource</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="detachOutliner(net.sf.colorer.swt.TextColorer)"><!-- --></A><H3> detachOutliner</H3> <PRE> public void <B>detachOutliner</B>(<A HREF="../../../../../net/sf/colorer/swt/TextColorer.html" title="class in net.sf.colorer.swt">TextColorer</A> editor)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html#detachOutliner(net.sf.colorer.swt.TextColorer)">IWorkbenchOutlineSource</A></CODE></B></DD> <DD>Detaches the outliner, specified by this interface <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html#detachOutliner(net.sf.colorer.swt.TextColorer)">detachOutliner</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/eclipse/outline/IWorkbenchOutlineSource.html" title="interface in net.sf.colorer.eclipse.outline">IWorkbenchOutlineSource</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="addListener(net.sf.colorer.editor.OutlineListener)"><!-- --></A><H3> addListener</H3> <PRE> public void <B>addListener</B>(<A HREF="../../../../../net/sf/colorer/editor/OutlineListener.html" title="interface in net.sf.colorer.editor">OutlineListener</A> listener)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/editor/IOutlineSource.html#addListener(net.sf.colorer.editor.OutlineListener)">addListener</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/editor/IOutlineSource.html" title="interface in net.sf.colorer.editor">IOutlineSource</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="removeListener(net.sf.colorer.editor.OutlineListener)"><!-- --></A><H3> removeListener</H3> <PRE> public void <B>removeListener</B>(<A HREF="../../../../../net/sf/colorer/editor/OutlineListener.html" title="interface in net.sf.colorer.editor">OutlineListener</A> listener)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/colorer/editor/IOutlineSource.html#removeListener(net.sf.colorer.editor.OutlineListener)">removeListener</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/colorer/editor/IOutlineSource.html" title="interface in net.sf.colorer.editor">IOutlineSource</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="notifyUpdate()"><!-- --></A><H3> notifyUpdate</H3> <PRE> protected void <B>notifyUpdate</B>()</PRE> <DL> <DD><DL> </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> </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="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-all.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="../../../../../net/sf/colorer/eclipse/outline/OutlineSchemeElement.html" title="class in net.sf.colorer.eclipse.outline"><B>PREV CLASS</B></A> <A HREF="../../../../../net/sf/colorer/eclipse/outline/WorkbenchOutliner.html" title="class in net.sf.colorer.eclipse.outline"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?net/sf/colorer/eclipse/outline/ParseTreeOutliner.html" target="_top"><B>FRAMES</B></A> <A HREF="ParseTreeOutliner.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 | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> <i>Copyright © 2003 Cail Lomecb. All Rights Reserved.</i> </BODY> </HTML>