PageRenderTime 103ms CodeModel.GetById 78ms app.highlight 19ms RepoModel.GetById 1ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/bufferset/BufferSetManager.html

#
HTML | 626 lines | 547 code | 66 blank | 13 comment | 0 complexity | e2d1242bc8cf676172752132c0ddcd51 MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<!--NewPage-->
  3<HTML>
  4<HEAD>
  5<!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:13:50 GMT-08:00 2008 -->
  6<TITLE>
  7BufferSetManager (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.bufferset.BufferSetManager class">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
 13
 14
 15<NOSCRIPT>
 16</NOSCRIPT>
 17
 18</HEAD>
 19
 20<BODY BGCOLOR="white" >
 21
 22
 23<!-- ========= START OF TOP NAVBAR ======= -->
 24<A NAME="navbar_top"><!-- --></A>
 25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 27<TR>
 28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 29<A NAME="navbar_top_firstrow"><!-- --></A>
 30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 31  <TR ALIGN="center" VALIGN="top">
 32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 34  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 35  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/BufferSetManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 36  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 40  </TR>
 41</TABLE>
 42</TD>
 43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 44</EM>
 45</TD>
 46</TR>
 47
 48<TR>
 49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 50&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetListener.html" title="interface in org.gjt.sp.jedit.bufferset"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.BufferSetVisitor.html" title="interface in org.gjt.sp.jedit.bufferset"><B>NEXT CLASS</B></A></FONT></TD>
 52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 53  <A HREF="../../../../../index.html?org/gjt/sp/jedit/bufferset/BufferSetManager.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="BufferSetManager.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 55&nbsp;
 56<NOSCRIPT>
 57  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 58</NOSCRIPT>
 59
 60
 61</FONT></TD>
 62</TR>
 63<TR>
 64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 65  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 67DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 68</TR>
 69</TABLE>
 70<A NAME="skip-navbar_top"></A>
 71<!-- ========= END OF TOP NAVBAR ========= -->
 72
 73<HR>
 74<!-- ======== START OF CLASS DATA ======== -->
 75<H2>
 76<FONT SIZE="-1">
 77org.gjt.sp.jedit.bufferset</FONT>
 78<BR>
 79Class BufferSetManager</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.bufferset.BufferSetManager</B>
 83</PRE>
 84<DL>
 85<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/EBComponent.html" title="interface in org.gjt.sp.jedit">EBComponent</A></DD>
 86</DL>
 87<HR>
 88<DL>
 89<DT><PRE>public class <B>BufferSetManager</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/gjt/sp/jedit/EBComponent.html" title="interface in org.gjt.sp.jedit">EBComponent</A></DL>
 90</PRE>
 91
 92<P>
 93The buffersets manager.
 94<P>
 95
 96<P>
 97<DL>
 98<DT><B>Since:</B></DT>
 99  <DD>jEdit 4.3pre15</DD>
100</DL>
101<HR>
102
103<P>
104<!-- ======== NESTED CLASS SUMMARY ======== -->
105
106<A NAME="nested_class_summary"><!-- --></A>
107<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
108<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
109<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
110<B>Nested Class Summary</B></FONT></TH>
111</TR>
112<TR BGCOLOR="white" CLASS="TableRowColor">
113<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
114<CODE>static&nbsp;interface</CODE></FONT></TD>
115<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.BufferSetVisitor.html" title="interface in org.gjt.sp.jedit.bufferset">BufferSetManager.BufferSetVisitor</A></B></CODE>
116
117<BR>
118&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
119</TR>
120<TR BGCOLOR="white" CLASS="TableRowColor">
121<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
122<CODE>static&nbsp;class</CODE></FONT></TD>
123<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.NewBufferSetAction.html" title="enum in org.gjt.sp.jedit.bufferset">BufferSetManager.NewBufferSetAction</A></B></CODE>
124
125<BR>
126&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
127</TR>
128</TABLE>
129&nbsp;
130<!-- ======== CONSTRUCTOR SUMMARY ======== -->
131
132<A NAME="constructor_summary"><!-- --></A>
133<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
134<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
135<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
136<B>Constructor Summary</B></FONT></TH>
137</TR>
138<TR BGCOLOR="white" CLASS="TableRowColor">
139<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#BufferSetManager()">BufferSetManager</A></B>()</CODE>
140
141<BR>
142&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
143</TR>
144</TABLE>
145&nbsp;
146<!-- ========== METHOD SUMMARY =========== -->
147
148<A NAME="method_summary"><!-- --></A>
149<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
150<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
151<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
152<B>Method Summary</B></FONT></TH>
153</TR>
154<TR BGCOLOR="white" CLASS="TableRowColor">
155<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156<CODE>&nbsp;void</CODE></FONT></TD>
157<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#addBuffer(org.gjt.sp.jedit.bufferset.BufferSet, org.gjt.sp.jedit.Buffer)">addBuffer</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A>&nbsp;bufferSet,
158          <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</CODE>
159
160<BR>
161&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
162</TR>
163<TR BGCOLOR="white" CLASS="TableRowColor">
164<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165<CODE>&nbsp;void</CODE></FONT></TD>
166<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#addBuffer(org.gjt.sp.jedit.EditPane, org.gjt.sp.jedit.Buffer)">addBuffer</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane,
167          <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</CODE>
168
169<BR>
170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
171</TR>
172<TR BGCOLOR="white" CLASS="TableRowColor">
173<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174<CODE>&nbsp;void</CODE></FONT></TD>
175<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#addBuffer(org.gjt.sp.jedit.View, org.gjt.sp.jedit.Buffer)">addBuffer</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
176          <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</CODE>
177
178<BR>
179&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
180</TR>
181<TR BGCOLOR="white" CLASS="TableRowColor">
182<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183<CODE>&nbsp;void</CODE></FONT></TD>
184<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#clear()">clear</A></B>()</CODE>
185
186<BR>
187&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Close all buffers.</TD>
188</TR>
189<TR BGCOLOR="white" CLASS="TableRowColor">
190<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191<CODE>&nbsp;int</CODE></FONT></TD>
192<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#countBufferSets(org.gjt.sp.jedit.Buffer)">countBufferSets</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</CODE>
193
194<BR>
195&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Count the bufferSets in which the buffer is.</TD>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A></CODE></FONT></TD>
200<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#getEditPaneBufferSet(org.gjt.sp.jedit.EditPane)">getEditPaneBufferSet</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane)</CODE>
201
202<BR>
203&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
204</TR>
205<TR BGCOLOR="white" CLASS="TableRowColor">
206<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A></CODE></FONT></TD>
208<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#getEditPaneBufferSet(org.gjt.sp.jedit.EditPane, org.gjt.sp.jedit.bufferset.BufferSet)">getEditPaneBufferSet</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane,
209                     <A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A>&nbsp;source)</CODE>
210
211<BR>
212&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
213</TR>
214<TR BGCOLOR="white" CLASS="TableRowColor">
215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
216<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A></CODE></FONT></TD>
217<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#getGlobalBufferSet()">getGlobalBufferSet</A></B>()</CODE>
218
219<BR>
220&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retourne le bufferSet global.</TD>
221</TR>
222<TR BGCOLOR="white" CLASS="TableRowColor">
223<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
224<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A></CODE></FONT></TD>
225<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#getViewBufferSet(org.gjt.sp.jedit.View)">getViewBufferSet</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view)</CODE>
226
227<BR>
228&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
229</TR>
230<TR BGCOLOR="white" CLASS="TableRowColor">
231<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
232<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A></CODE></FONT></TD>
233<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#getViewBufferSet(org.gjt.sp.jedit.View, org.gjt.sp.jedit.bufferset.BufferSet)">getViewBufferSet</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
234                 <A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A>&nbsp;source)</CODE>
235
236<BR>
237&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
238</TR>
239<TR BGCOLOR="white" CLASS="TableRowColor">
240<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
241<CODE>&nbsp;void</CODE></FONT></TD>
242<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#handleMessage(org.gjt.sp.jedit.EBMessage)">handleMessage</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/EBMessage.html" title="class in org.gjt.sp.jedit">EBMessage</A>&nbsp;message)</CODE>
243
244<BR>
245&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handles a message sent on the EditBus.</TD>
246</TR>
247<TR BGCOLOR="white" CLASS="TableRowColor">
248<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
249<CODE>&nbsp;boolean</CODE></FONT></TD>
250<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#hasListeners(org.gjt.sp.jedit.Buffer)">hasListeners</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</CODE>
251
252<BR>
253&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check if a buffer is in at least one bufferSet that as some listeners.</TD>
254</TR>
255<TR BGCOLOR="white" CLASS="TableRowColor">
256<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
257<CODE>&nbsp;void</CODE></FONT></TD>
258<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#removeBuffer(org.gjt.sp.jedit.Buffer)">removeBuffer</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</CODE>
259
260<BR>
261&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;remove a buffer from all bufferSets.</TD>
262</TR>
263<TR BGCOLOR="white" CLASS="TableRowColor">
264<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
265<CODE>&nbsp;void</CODE></FONT></TD>
266<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#removeBuffer(org.gjt.sp.jedit.EditPane, org.gjt.sp.jedit.Buffer)">removeBuffer</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane,
267             <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</CODE>
268
269<BR>
270&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a buffer from the EditPane's bufferSet.</TD>
271</TR>
272<TR BGCOLOR="white" CLASS="TableRowColor">
273<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
274<CODE>&nbsp;void</CODE></FONT></TD>
275<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.html#visit(org.gjt.sp.jedit.bufferset.BufferSetManager.BufferSetVisitor)">visit</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.BufferSetVisitor.html" title="interface in org.gjt.sp.jedit.bufferset">BufferSetManager.BufferSetVisitor</A>&nbsp;visitor)</CODE>
276
277<BR>
278&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method will visit all buffersets.</TD>
279</TR>
280</TABLE>
281&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
282<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
283<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
284<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
285</TR>
286<TR BGCOLOR="white" CLASS="TableRowColor">
287<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
288</TR>
289</TABLE>
290&nbsp;
291<P>
292
293<!-- ========= CONSTRUCTOR DETAIL ======== -->
294
295<A NAME="constructor_detail"><!-- --></A>
296<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
297<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
298<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
299<B>Constructor Detail</B></FONT></TH>
300</TR>
301</TABLE>
302
303<A NAME="BufferSetManager()"><!-- --></A><H3>
304BufferSetManager</H3>
305<PRE>
306public <B>BufferSetManager</B>()</PRE>
307<DL>
308</DL>
309
310<!-- ============ METHOD DETAIL ========== -->
311
312<A NAME="method_detail"><!-- --></A>
313<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
314<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
315<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
316<B>Method Detail</B></FONT></TH>
317</TR>
318</TABLE>
319
320<A NAME="handleMessage(org.gjt.sp.jedit.EBMessage)"><!-- --></A><H3>
321handleMessage</H3>
322<PRE>
323public void <B>handleMessage</B>(<A HREF="../../../../../org/gjt/sp/jedit/EBMessage.html" title="class in org.gjt.sp.jedit">EBMessage</A>&nbsp;message)</PRE>
324<DL>
325<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/gjt/sp/jedit/EBComponent.html#handleMessage(org.gjt.sp.jedit.EBMessage)">EBComponent</A></CODE></B></DD>
326<DD>Handles a message sent on the EditBus.
327
328 This method must specify the type of responses the plugin will have
329 for various subclasses of the <A HREF="../../../../../org/gjt/sp/jedit/EBMessage.html" title="class in org.gjt.sp.jedit"><CODE>EBMessage</CODE></A> class. Typically
330 this is done with one or more <code>if</code> blocks that test
331 whether the message is an instance of a derived message class in
332 which the component has an interest. For example:
333
334 <pre> if(msg instanceof BufferUpdate) {
335     // a buffer's state has changed!
336 }
337 else if(msg instanceof ViewUpdate) {
338     // a view's state has changed!
339 }
340 // ... and so on</pre>
341<P>
342<DD><DL>
343<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/EBComponent.html#handleMessage(org.gjt.sp.jedit.EBMessage)">handleMessage</A></CODE> in interface <CODE><A HREF="../../../../../org/gjt/sp/jedit/EBComponent.html" title="interface in org.gjt.sp.jedit">EBComponent</A></CODE></DL>
344</DD>
345<DD><DL>
346<DT><B>Parameters:</B><DD><CODE>message</CODE> - The message</DL>
347</DD>
348</DL>
349<HR>
350
351<A NAME="getGlobalBufferSet()"><!-- --></A><H3>
352getGlobalBufferSet</H3>
353<PRE>
354public <A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A> <B>getGlobalBufferSet</B>()</PRE>
355<DL>
356<DD>Retourne le bufferSet global.
357<P>
358<DD><DL>
359</DL>
360</DD>
361<DD><DL>
362
363<DT><B>Returns:</B><DD>le bufferSet global</DL>
364</DD>
365</DL>
366<HR>
367
368<A NAME="getViewBufferSet(org.gjt.sp.jedit.View, org.gjt.sp.jedit.bufferset.BufferSet)"><!-- --></A><H3>
369getViewBufferSet</H3>
370<PRE>
371public <A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A> <B>getViewBufferSet</B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
372                                  <A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A>&nbsp;source)</PRE>
373<DL>
374<DD><DL>
375</DL>
376</DD>
377<DD><DL>
378</DL>
379</DD>
380</DL>
381<HR>
382
383<A NAME="getViewBufferSet(org.gjt.sp.jedit.View)"><!-- --></A><H3>
384getViewBufferSet</H3>
385<PRE>
386public <A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A> <B>getViewBufferSet</B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view)</PRE>
387<DL>
388<DD><DL>
389</DL>
390</DD>
391<DD><DL>
392</DL>
393</DD>
394</DL>
395<HR>
396
397<A NAME="getEditPaneBufferSet(org.gjt.sp.jedit.EditPane, org.gjt.sp.jedit.bufferset.BufferSet)"><!-- --></A><H3>
398getEditPaneBufferSet</H3>
399<PRE>
400public <A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A> <B>getEditPaneBufferSet</B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane,
401                                      <A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A>&nbsp;source)</PRE>
402<DL>
403<DD><DL>
404</DL>
405</DD>
406<DD><DL>
407</DL>
408</DD>
409</DL>
410<HR>
411
412<A NAME="getEditPaneBufferSet(org.gjt.sp.jedit.EditPane)"><!-- --></A><H3>
413getEditPaneBufferSet</H3>
414<PRE>
415public <A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A> <B>getEditPaneBufferSet</B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane)</PRE>
416<DL>
417<DD><DL>
418</DL>
419</DD>
420<DD><DL>
421</DL>
422</DD>
423</DL>
424<HR>
425
426<A NAME="countBufferSets(org.gjt.sp.jedit.Buffer)"><!-- --></A><H3>
427countBufferSets</H3>
428<PRE>
429public int <B>countBufferSets</B>(<A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</PRE>
430<DL>
431<DD>Count the bufferSets in which the buffer is.
432<P>
433<DD><DL>
434</DL>
435</DD>
436<DD><DL>
437<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - the buffer
438<DT><B>Returns:</B><DD>the number of buffersets in which buffer is</DL>
439</DD>
440</DL>
441<HR>
442
443<A NAME="addBuffer(org.gjt.sp.jedit.View, org.gjt.sp.jedit.Buffer)"><!-- --></A><H3>
444addBuffer</H3>
445<PRE>
446public void <B>addBuffer</B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
447                      <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</PRE>
448<DL>
449<DD><DL>
450</DL>
451</DD>
452<DD><DL>
453</DL>
454</DD>
455</DL>
456<HR>
457
458<A NAME="addBuffer(org.gjt.sp.jedit.EditPane, org.gjt.sp.jedit.Buffer)"><!-- --></A><H3>
459addBuffer</H3>
460<PRE>
461public void <B>addBuffer</B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane,
462                      <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</PRE>
463<DL>
464<DD><DL>
465</DL>
466</DD>
467<DD><DL>
468</DL>
469</DD>
470</DL>
471<HR>
472
473<A NAME="addBuffer(org.gjt.sp.jedit.bufferset.BufferSet, org.gjt.sp.jedit.Buffer)"><!-- --></A><H3>
474addBuffer</H3>
475<PRE>
476public void <B>addBuffer</B>(<A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSet.html" title="class in org.gjt.sp.jedit.bufferset">BufferSet</A>&nbsp;bufferSet,
477                      <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</PRE>
478<DL>
479<DD><DL>
480</DL>
481</DD>
482<DD><DL>
483</DL>
484</DD>
485</DL>
486<HR>
487
488<A NAME="removeBuffer(org.gjt.sp.jedit.EditPane, org.gjt.sp.jedit.Buffer)"><!-- --></A><H3>
489removeBuffer</H3>
490<PRE>
491public void <B>removeBuffer</B>(<A HREF="../../../../../org/gjt/sp/jedit/EditPane.html" title="class in org.gjt.sp.jedit">EditPane</A>&nbsp;editPane,
492                         <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</PRE>
493<DL>
494<DD>Remove a buffer from the EditPane's bufferSet.
495<P>
496<DD><DL>
497</DL>
498</DD>
499<DD><DL>
500<DT><B>Parameters:</B><DD><CODE>editPane</CODE> - the editPane It cannot be null<DD><CODE>buffer</CODE> - the buffer</DL>
501</DD>
502</DL>
503<HR>
504
505<A NAME="hasListeners(org.gjt.sp.jedit.Buffer)"><!-- --></A><H3>
506hasListeners</H3>
507<PRE>
508public boolean <B>hasListeners</B>(<A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</PRE>
509<DL>
510<DD>Check if a buffer is in at least one bufferSet that as some listeners.
511 Otherwise nobody can see it.
512<P>
513<DD><DL>
514</DL>
515</DD>
516<DD><DL>
517<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - the buffer
518<DT><B>Returns:</B><DD>true if the buffer is in a bufferSet that has listeners</DL>
519</DD>
520</DL>
521<HR>
522
523<A NAME="removeBuffer(org.gjt.sp.jedit.Buffer)"><!-- --></A><H3>
524removeBuffer</H3>
525<PRE>
526public void <B>removeBuffer</B>(<A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</PRE>
527<DL>
528<DD>remove a buffer from all bufferSets.
529<P>
530<DD><DL>
531</DL>
532</DD>
533<DD><DL>
534<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - the buffer that must be removed</DL>
535</DD>
536</DL>
537<HR>
538
539<A NAME="clear()"><!-- --></A><H3>
540clear</H3>
541<PRE>
542public void <B>clear</B>()</PRE>
543<DL>
544<DD>Close all buffers.
545<P>
546<DD><DL>
547</DL>
548</DD>
549<DD><DL>
550</DL>
551</DD>
552</DL>
553<HR>
554
555<A NAME="visit(org.gjt.sp.jedit.bufferset.BufferSetManager.BufferSetVisitor)"><!-- --></A><H3>
556visit</H3>
557<PRE>
558public void <B>visit</B>(<A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.BufferSetVisitor.html" title="interface in org.gjt.sp.jedit.bufferset">BufferSetManager.BufferSetVisitor</A>&nbsp;visitor)</PRE>
559<DL>
560<DD>This method will visit all buffersets.
561<P>
562<DD><DL>
563</DL>
564</DD>
565<DD><DL>
566<DT><B>Parameters:</B><DD><CODE>visitor</CODE> - the bufferset visitor</DL>
567</DD>
568</DL>
569<!-- ========= END OF CLASS DATA ========= -->
570<HR>
571
572
573<!-- ======= START OF BOTTOM NAVBAR ====== -->
574<A NAME="navbar_bottom"><!-- --></A>
575<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
576<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
577<TR>
578<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
579<A NAME="navbar_bottom_firstrow"><!-- --></A>
580<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
581  <TR ALIGN="center" VALIGN="top">
582  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
583  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
584  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
585  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/BufferSetManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
586  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
587  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
588  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
589  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
590  </TR>
591</TABLE>
592</TD>
593<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
594</EM>
595</TD>
596</TR>
597
598<TR>
599<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
600&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetListener.html" title="interface in org.gjt.sp.jedit.bufferset"><B>PREV CLASS</B></A>&nbsp;
601&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bufferset/BufferSetManager.BufferSetVisitor.html" title="interface in org.gjt.sp.jedit.bufferset"><B>NEXT CLASS</B></A></FONT></TD>
602<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
603  <A HREF="../../../../../index.html?org/gjt/sp/jedit/bufferset/BufferSetManager.html" target="_top"><B>FRAMES</B></A>  &nbsp;
604&nbsp;<A HREF="BufferSetManager.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
605&nbsp;
606<NOSCRIPT>
607  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
608</NOSCRIPT>
609
610
611</FONT></TD>
612</TR>
613<TR>
614<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
615  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
616<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
617DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
618</TR>
619</TABLE>
620<A NAME="skip-navbar_bottom"></A>
621<!-- ======== END OF BOTTOM NAVBAR ======= -->
622
623<HR>
624
625</BODY>
626</HTML>