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