PageRenderTime 47ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/ServiceManager.ServiceFoldHandlerProvider.html

#
HTML | 324 lines | 271 code | 39 blank | 14 comment | 0 complexity | b54f89d8a79e0f163b2db6e456cd18a3 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:46 GMT-08:00 2008 -->
  6. <TITLE>
  7. ServiceManager.ServiceFoldHandlerProvider (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.ServiceManager.ServiceFoldHandlerProvider 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/ServiceManager.ServiceFoldHandlerProvider.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/ServiceManager.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/TextUtilities.html" title="class in org.gjt.sp.jedit"><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/ServiceManager.ServiceFoldHandlerProvider.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="ServiceManager.ServiceFoldHandlerProvider.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;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  55. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  56. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  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</FONT>
  66. <BR>
  67. Class ServiceManager.ServiceFoldHandlerProvider</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.ServiceManager.ServiceFoldHandlerProvider</B>
  71. </PRE>
  72. <DL>
  73. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/gjt/sp/jedit/buffer/FoldHandlerProvider.html" title="interface in org.gjt.sp.jedit.buffer">FoldHandlerProvider</A></DD>
  74. </DL>
  75. <DL>
  76. <DT><B>Enclosing class:</B><DD><A HREF="../../../../org/gjt/sp/jedit/ServiceManager.html" title="class in org.gjt.sp.jedit">ServiceManager</A></DD>
  77. </DL>
  78. <HR>
  79. <DL>
  80. <DT><PRE>public static class <B>ServiceManager.ServiceFoldHandlerProvider</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/gjt/sp/jedit/buffer/FoldHandlerProvider.html" title="interface in org.gjt.sp.jedit.buffer">FoldHandlerProvider</A></DL>
  81. </PRE>
  82. <P>
  83. A FoldHandler based on the ServiceManager
  84. <P>
  85. <P>
  86. <DL>
  87. <DT><B>Since:</B></DT>
  88. <DD>jEdit 4.3pre10</DD>
  89. </DL>
  90. <HR>
  91. <P>
  92. <!-- =========== FIELD SUMMARY =========== -->
  93. <A NAME="field_summary"><!-- --></A>
  94. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  95. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  96. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  97. <B>Field Summary</B></FONT></TH>
  98. </TR>
  99. <TR BGCOLOR="white" CLASS="TableRowColor">
  100. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  101. <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
  102. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/ServiceManager.ServiceFoldHandlerProvider.html#SERVICE">SERVICE</A></B></CODE>
  103. <BR>
  104. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The service type.</TD>
  105. </TR>
  106. </TABLE>
  107. &nbsp;
  108. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  109. <A NAME="constructor_summary"><!-- --></A>
  110. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  111. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  112. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  113. <B>Constructor Summary</B></FONT></TH>
  114. </TR>
  115. <TR BGCOLOR="white" CLASS="TableRowColor">
  116. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/ServiceManager.ServiceFoldHandlerProvider.html#ServiceManager.ServiceFoldHandlerProvider()">ServiceManager.ServiceFoldHandlerProvider</A></B>()</CODE>
  117. <BR>
  118. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  119. </TR>
  120. </TABLE>
  121. &nbsp;
  122. <!-- ========== METHOD SUMMARY =========== -->
  123. <A NAME="method_summary"><!-- --></A>
  124. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  125. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  126. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  127. <B>Method Summary</B></FONT></TH>
  128. </TR>
  129. <TR BGCOLOR="white" CLASS="TableRowColor">
  130. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  131. <CODE>&nbsp;<A HREF="../../../../org/gjt/sp/jedit/buffer/FoldHandler.html" title="class in org.gjt.sp.jedit.buffer">FoldHandler</A></CODE></FONT></TD>
  132. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/ServiceManager.ServiceFoldHandlerProvider.html#getFoldHandler(java.lang.String)">getFoldHandler</A></B>(java.lang.String&nbsp;name)</CODE>
  133. <BR>
  134. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the fold handler with the specified name, or null if
  135. there is no registered handler with that name.</TD>
  136. </TR>
  137. <TR BGCOLOR="white" CLASS="TableRowColor">
  138. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  139. <CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
  140. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/ServiceManager.ServiceFoldHandlerProvider.html#getFoldModes()">getFoldModes</A></B>()</CODE>
  141. <BR>
  142. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the names of all registered fold
  143. handlers.</TD>
  144. </TR>
  145. </TABLE>
  146. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  147. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  148. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  149. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  150. </TR>
  151. <TR BGCOLOR="white" CLASS="TableRowColor">
  152. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  153. </TR>
  154. </TABLE>
  155. &nbsp;
  156. <P>
  157. <!-- ============ FIELD DETAIL =========== -->
  158. <A NAME="field_detail"><!-- --></A>
  159. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  160. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  161. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  162. <B>Field Detail</B></FONT></TH>
  163. </TR>
  164. </TABLE>
  165. <A NAME="SERVICE"><!-- --></A><H3>
  166. SERVICE</H3>
  167. <PRE>
  168. public static final java.lang.String <B>SERVICE</B></PRE>
  169. <DL>
  170. <DD>The service type. See <A HREF="../../../../org/gjt/sp/jedit/ServiceManager.html" title="class in org.gjt.sp.jedit"><CODE>ServiceManager</CODE></A>.
  171. <P>
  172. <DL>
  173. <DT><B>Since:</B></DT>
  174. <DD>jEdit 4.3pre10</DD>
  175. <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.gjt.sp.jedit.ServiceManager.ServiceFoldHandlerProvider.SERVICE">Constant Field Values</A></DL>
  176. </DL>
  177. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  178. <A NAME="constructor_detail"><!-- --></A>
  179. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  180. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  181. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  182. <B>Constructor Detail</B></FONT></TH>
  183. </TR>
  184. </TABLE>
  185. <A NAME="ServiceManager.ServiceFoldHandlerProvider()"><!-- --></A><H3>
  186. ServiceManager.ServiceFoldHandlerProvider</H3>
  187. <PRE>
  188. public <B>ServiceManager.ServiceFoldHandlerProvider</B>()</PRE>
  189. <DL>
  190. </DL>
  191. <!-- ============ METHOD DETAIL ========== -->
  192. <A NAME="method_detail"><!-- --></A>
  193. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  194. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  195. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  196. <B>Method Detail</B></FONT></TH>
  197. </TR>
  198. </TABLE>
  199. <A NAME="getFoldHandler(java.lang.String)"><!-- --></A><H3>
  200. getFoldHandler</H3>
  201. <PRE>
  202. public <A HREF="../../../../org/gjt/sp/jedit/buffer/FoldHandler.html" title="class in org.gjt.sp.jedit.buffer">FoldHandler</A> <B>getFoldHandler</B>(java.lang.String&nbsp;name)</PRE>
  203. <DL>
  204. <DD>Returns the fold handler with the specified name, or null if
  205. there is no registered handler with that name.
  206. <P>
  207. <DD><DL>
  208. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/gjt/sp/jedit/buffer/FoldHandlerProvider.html#getFoldHandler(java.lang.String)">getFoldHandler</A></CODE> in interface <CODE><A HREF="../../../../org/gjt/sp/jedit/buffer/FoldHandlerProvider.html" title="interface in org.gjt.sp.jedit.buffer">FoldHandlerProvider</A></CODE></DL>
  209. </DD>
  210. <DD><DL>
  211. <DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the desired fold handler
  212. <DT><B>Returns:</B><DD>the FoldHandler or null if it doesn't exists<DT><B>Since:</B></DT>
  213. <DD>jEdit 4.3pre10</DD>
  214. </DL>
  215. </DD>
  216. </DL>
  217. <HR>
  218. <A NAME="getFoldModes()"><!-- --></A><H3>
  219. getFoldModes</H3>
  220. <PRE>
  221. public java.lang.String[] <B>getFoldModes</B>()</PRE>
  222. <DL>
  223. <DD>Returns an array containing the names of all registered fold
  224. handlers.
  225. <P>
  226. <DD><DL>
  227. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/gjt/sp/jedit/buffer/FoldHandlerProvider.html#getFoldModes()">getFoldModes</A></CODE> in interface <CODE><A HREF="../../../../org/gjt/sp/jedit/buffer/FoldHandlerProvider.html" title="interface in org.gjt.sp.jedit.buffer">FoldHandlerProvider</A></CODE></DL>
  228. </DD>
  229. <DD><DL>
  230. <DT><B>Since:</B></DT>
  231. <DD>jEdit 4.3pre10</DD>
  232. </DL>
  233. </DD>
  234. </DL>
  235. <!-- ========= END OF CLASS DATA ========= -->
  236. <HR>
  237. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  238. <A NAME="navbar_bottom"><!-- --></A>
  239. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  240. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  241. <TR>
  242. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  243. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  244. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  245. <TR ALIGN="center" VALIGN="top">
  246. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  247. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  248. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  249. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ServiceManager.ServiceFoldHandlerProvider.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  250. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  251. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  252. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  253. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  254. </TR>
  255. </TABLE>
  256. </TD>
  257. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  258. </EM>
  259. </TD>
  260. </TR>
  261. <TR>
  262. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  263. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/ServiceManager.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
  264. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/TextUtilities.html" title="class in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
  265. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  266. <A HREF="../../../../index.html?org/gjt/sp/jedit/ServiceManager.ServiceFoldHandlerProvider.html" target="_top"><B>FRAMES</B></A> &nbsp;
  267. &nbsp;<A HREF="ServiceManager.ServiceFoldHandlerProvider.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  268. &nbsp;
  269. <NOSCRIPT>
  270. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  271. </NOSCRIPT>
  272. </FONT></TD>
  273. </TR>
  274. <TR>
  275. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  276. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  277. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  278. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  279. </TR>
  280. </TABLE>
  281. <A NAME="skip-navbar_bottom"></A>
  282. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  283. <HR>
  284. </BODY>
  285. </HTML>