svn-gvsig-desktop / tags / v1_9_Build_1245 / docs / Andami / andami-api / com / iver / andami / PluginServices.html @ 40287
History | View | Annotate | Download (23 KB)
1 | 1935 | vcaballero | <!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.4.2_04) on Fri May 13 11:46:19 CEST 2005 -->
|
||
6 | <TITLE>
|
||
7 | PluginServices |
||
8 | </TITLE>
|
||
9 | |||
10 | <META NAME="keywords" CONTENT="com.iver.andami.PluginServices class"> |
||
11 | |||
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
||
13 | |||
14 | <SCRIPT type="text/javascript"> |
||
15 | function windowTitle() |
||
16 | { |
||
17 | parent.document.title="PluginServices"; |
||
18 | } |
||
19 | </SCRIPT>
|
||
20 | |||
21 | </HEAD>
|
||
22 | |||
23 | <BODY BGCOLOR="white" onload="windowTitle();"> |
||
24 | |||
25 | |||
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
||
27 | <A NAME="navbar_top"><!-- --></A> |
||
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
||
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
30 | <TR>
|
||
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
32 | <A NAME="navbar_top_firstrow"><!-- --></A> |
||
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
34 | <TR ALIGN="center" VALIGN="top"> |
||
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PluginServices.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
43 | </TR>
|
||
44 | </TABLE>
|
||
45 | </TD>
|
||
46 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
47 | </EM>
|
||
48 | </TD>
|
||
49 | </TR>
|
||
50 | |||
51 | <TR>
|
||
52 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
53 | <A HREF="../../../com/iver/andami/Launcher.html" title="class in com.iver.andami"><B>PREV CLASS</B></A> |
||
54 | <A HREF="../../../com/iver/andami/Utilities.html" title="class in com.iver.andami"><B>NEXT CLASS</B></A></FONT></TD> |
||
55 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
56 | <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
||
57 | <A HREF="PluginServices.html" target="_top"><B>NO FRAMES</B></A> |
||
58 | <SCRIPT type="text/javascript"> |
||
59 | <!--
|
||
60 | if(window==top) {
|
||
61 | document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
62 | }
|
||
63 | //-->
|
||
64 | </SCRIPT>
|
||
65 | <NOSCRIPT>
|
||
66 | <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
67 | </NOSCRIPT>
|
||
68 | |||
69 | </FONT></TD> |
||
70 | </TR>
|
||
71 | <TR>
|
||
72 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
73 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
74 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
75 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
76 | </TR>
|
||
77 | </TABLE>
|
||
78 | <A NAME="skip-navbar_top"></A> |
||
79 | <!-- ========= END OF TOP NAVBAR ========= -->
|
||
80 | |||
81 | <HR>
|
||
82 | <!-- ======== START OF CLASS DATA ======== -->
|
||
83 | <H2>
|
||
84 | <FONT SIZE="-1"> |
||
85 | com.iver.andami</FONT>
|
||
86 | <BR>
|
||
87 | Class PluginServices</H2>
|
||
88 | <PRE>
|
||
89 | java.lang.Object |
||
90 | <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>com.iver.andami.PluginServices</B> |
||
91 | </PRE>
|
||
92 | <HR>
|
||
93 | <DL>
|
||
94 | <DT>public class <B>PluginServices</B><DT>extends java.lang.Object</DL> |
||
95 | |||
96 | <P>
|
||
97 | Clase que proporciona servicios a los plugins. |
||
98 | <P>
|
||
99 | |||
100 | <P>
|
||
101 | <DL>
|
||
102 | <DT><B>Author:</B></DT> |
||
103 | <DD>Fernando Gonz?lez Cort?s</DD> |
||
104 | </DL>
|
||
105 | <HR>
|
||
106 | |||
107 | <P>
|
||
108 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
||
109 | |||
110 | |||
111 | <!-- =========== FIELD SUMMARY =========== -->
|
||
112 | |||
113 | |||
114 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
115 | |||
116 | <A NAME="constructor_summary"><!-- --></A> |
||
117 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
118 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
119 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
120 | <B>Constructor Summary</B></FONT></TD> |
||
121 | </TR>
|
||
122 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
123 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#PluginServices(com.iver.andami.plugins.PluginClassLoader)">PluginServices</A></B>(<A HREF="../../../com/iver/andami/plugins/PluginClassLoader.html" title="class in com.iver.andami.plugins">PluginClassLoader</A> loader)</CODE> |
||
124 | |||
125 | <BR>
|
||
126 | Crea un nuevo PluginServices</TD> |
||
127 | </TR>
|
||
128 | </TABLE>
|
||
129 |
|
||
130 | <!-- ========== METHOD SUMMARY =========== -->
|
||
131 | |||
132 | <A NAME="method_summary"><!-- --></A> |
||
133 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
134 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
135 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
136 | <B>Method Summary</B></FONT></TD> |
||
137 | </TR>
|
||
138 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
139 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
140 | <CODE> void</CODE></FONT></TD> |
||
141 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#addPopupMenuListener(java.lang.String, java.awt.Component, java.awt.event.ActionListener)">addPopupMenuListener</A></B>(java.lang.String name, |
||
142 | java.awt.Component c,
|
||
143 | java.awt.event.ActionListener listener)</CODE> |
||
144 | |||
145 | <BR>
|
||
146 | A?ade un listener a un popup menu registrado en el |
||
147 | config.xml de alg?n plugin</TD>
|
||
148 | </TR>
|
||
149 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
150 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
151 | <CODE>static java.lang.Thread</CODE></FONT></TD> |
||
152 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#backgroundExecution(java.lang.Runnable)">backgroundExecution</A></B>(java.lang.Runnable r)</CODE> |
||
153 | |||
154 | <BR>
|
||
155 | Ejecuta una tarea en segundo plano, dejando a la |
||
156 | interfaz responder pero inhibiendo los eventos</TD>
|
||
157 | </TR>
|
||
158 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
159 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
160 | <CODE> <A HREF="../../../com/iver/andami/plugins/PluginClassLoader.html" title="class in com.iver.andami.plugins">PluginClassLoader</A></CODE></FONT></TD> |
||
161 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#getClassLoader()">getClassLoader</A></B>()</CODE> |
||
162 | |||
163 | <BR>
|
||
164 | Obtiene el classloader del plugin</TD> |
||
165 | </TR>
|
||
166 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
167 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
168 | <CODE>static <A HREF="../../../com/iver/andami/plugins/Extension.html" title="interface in com.iver.andami.plugins">Extension</A></CODE></FONT></TD> |
||
169 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#getExtension(java.lang.Class)">getExtension</A></B>(java.lang.Class extensionClass)</CODE> |
||
170 | |||
171 | <BR>
|
||
172 | Obtiene una referencia a la instancia de la extensi?n |
||
173 | cuya clase se pasa como par?metro</TD>
|
||
174 | </TR>
|
||
175 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
176 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
177 | <CODE>static java.util.Iterator</CODE></FONT></TD> |
||
178 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#getExtensions()">getExtensions</A></B>()</CODE> |
||
179 | |||
180 | <BR>
|
||
181 | Obtiene un iterador sobre las extensiones</TD> |
||
182 | </TR>
|
||
183 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
184 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
185 | <CODE>static <A HREF="../../../com/iver/andami/ui/mdiFrame/MainFrame.html" title="interface in com.iver.andami.ui.mdiFrame">MainFrame</A></CODE></FONT></TD> |
||
186 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#getMainFrame()">getMainFrame</A></B>()</CODE> |
||
187 | |||
188 | <BR>
|
||
189 | Obtiene una referencia al marco principal de la |
||
190 | aplicaci?n</TD>
|
||
191 | </TR>
|
||
192 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
193 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
194 | <CODE>static <A HREF="../../../com/iver/andami/ui/mdiManager/MDIManager.html" title="interface in com.iver.andami.ui.mdiManager">MDIManager</A></CODE></FONT></TD> |
||
195 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#getMDIManager()">getMDIManager</A></B>()</CODE> |
||
196 | |||
197 | <BR>
|
||
198 | Obtiene una referencia al gestor de ventanas</TD> |
||
199 | </TR>
|
||
200 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
201 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
202 | <CODE> com.iver.utiles.XMLEntity</CODE></FONT></TD> |
||
203 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#getPersistentXML()">getPersistentXML</A></B>()</CODE> |
||
204 | |||
205 | <BR>
|
||
206 | Obtiene un objeto que representa la persistencia del plugin en formato |
||
207 | xml.</TD>
|
||
208 | </TR>
|
||
209 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
210 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
211 | <CODE> java.io.File</CODE></FONT></TD> |
||
212 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#getPluginDirectory()">getPluginDirectory</A></B>()</CODE> |
||
213 | |||
214 | <BR>
|
||
215 | Obtiene una referencia al directorio del plugin</TD> |
||
216 | </TR>
|
||
217 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
218 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
219 | <CODE>static <A HREF="../../../com/iver/andami/PluginServices.html" title="class in com.iver.andami">PluginServices</A></CODE></FONT></TD> |
||
220 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#getPluginServices(java.lang.Object)">getPluginServices</A></B>(java.lang.Object pluginClassInstance)</CODE> |
||
221 | |||
222 | <BR>
|
||
223 | Obtienen una referencia al PluginServices del plugin cuyo nombre se pasa |
||
224 | como par?metro</TD>
|
||
225 | </TR>
|
||
226 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
227 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
228 | <CODE>static <A HREF="../../../com/iver/andami/PluginServices.html" title="class in com.iver.andami">PluginServices</A></CODE></FONT></TD> |
||
229 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#getPluginServices(java.lang.String)">getPluginServices</A></B>(java.lang.String pluginName)</CODE> |
||
230 | |||
231 | <BR>
|
||
232 | Obtienen una referencia al PluginServices del plugin cuyo nombre se pasa |
||
233 | como par?metro</TD>
|
||
234 | </TR>
|
||
235 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
236 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
237 | <CODE>static java.lang.String</CODE></FONT></TD> |
||
238 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#getText(java.lang.Object, java.lang.String)">getText</A></B>(java.lang.Object pluginObject, |
||
239 | java.lang.String key)</CODE> |
||
240 | |||
241 | <BR>
|
||
242 | Obtiene una traducci?n de un plugin</TD> |
||
243 | </TR>
|
||
244 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
245 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
246 | <CODE> java.lang.String</CODE></FONT></TD> |
||
247 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#getText(java.lang.String)">getText</A></B>(java.lang.String key)</CODE> |
||
248 | |||
249 | <BR>
|
||
250 | Devuelve el mensaje en el idioma del locale actual del texto |
||
251 | correspondiente a la clave que se pasa como par?metro</TD>
|
||
252 | </TR>
|
||
253 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
254 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
255 | <CODE> void</CODE></FONT></TD> |
||
256 | <TD><CODE><B><A HREF="../../../com/iver/andami/PluginServices.html#setPersistentXML(com.iver.utiles.XMLEntity)">setPersistentXML</A></B>(com.iver.utiles.XMLEntity entity)</CODE> |
||
257 | |||
258 | <BR>
|
||
259 | Establece los datos del plugin que deber?n persistir entre ejecuciones |
||
260 | en formato xml</TD>
|
||
261 | </TR>
|
||
262 | </TABLE>
|
||
263 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
264 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
265 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
266 | <TD><B>Methods inherited from class java.lang.Object</B></TD> |
||
267 | </TR>
|
||
268 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
269 | <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
||
270 | </TR>
|
||
271 | </TABLE>
|
||
272 |
|
||
273 | <P>
|
||
274 | |||
275 | <!-- ============ FIELD DETAIL =========== -->
|
||
276 | |||
277 | |||
278 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
279 | |||
280 | <A NAME="constructor_detail"><!-- --></A> |
||
281 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
282 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
283 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
284 | <B>Constructor Detail</B></FONT></TD> |
||
285 | </TR>
|
||
286 | </TABLE>
|
||
287 | |||
288 | <A NAME="PluginServices(com.iver.andami.plugins.PluginClassLoader)"><!-- --></A><H3> |
||
289 | PluginServices</H3>
|
||
290 | <PRE>
|
||
291 | public <B>PluginServices</B>(<A HREF="../../../com/iver/andami/plugins/PluginClassLoader.html" title="class in com.iver.andami.plugins">PluginClassLoader</A> loader)</PRE> |
||
292 | <DL>
|
||
293 | <DD>Crea un nuevo PluginServices
|
||
294 | <P>
|
||
295 | <DT><B>Parameters:</B><DD><CODE>loader</CODE> - ClassLoader del plugin</DL> |
||
296 | |||
297 | <!-- ============ METHOD DETAIL ========== -->
|
||
298 | |||
299 | <A NAME="method_detail"><!-- --></A> |
||
300 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
301 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
302 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
303 | <B>Method Detail</B></FONT></TD> |
||
304 | </TR>
|
||
305 | </TABLE>
|
||
306 | |||
307 | <A NAME="getText(java.lang.String)"><!-- --></A><H3> |
||
308 | getText</H3>
|
||
309 | <PRE>
|
||
310 | public java.lang.String <B>getText</B>(java.lang.String key)</PRE> |
||
311 | <DL>
|
||
312 | <DD>Devuelve el mensaje en el idioma del locale actual del texto
|
||
313 | correspondiente a la clave que se pasa como par?metro |
||
314 | <P>
|
||
315 | <DD><DL> |
||
316 | <DT><B>Parameters:</B><DD><CODE>key</CODE> - Clave del texto que se quiere obtener |
||
317 | <DT><B>Returns:</B><DD>Texto en el idioma que toca o la propia clave si no se encuentra |
||
318 | en el fichero</DL>
|
||
319 | </DD>
|
||
320 | </DL>
|
||
321 | <HR>
|
||
322 | |||
323 | <A NAME="getClassLoader()"><!-- --></A><H3> |
||
324 | getClassLoader</H3>
|
||
325 | <PRE>
|
||
326 | public <A HREF="../../../com/iver/andami/plugins/PluginClassLoader.html" title="class in com.iver.andami.plugins">PluginClassLoader</A> <B>getClassLoader</B>()</PRE> |
||
327 | <DL>
|
||
328 | <DD>Obtiene el classloader del plugin
|
||
329 | <P>
|
||
330 | <DD><DL> |
||
331 | |||
332 | <DT><B>Returns:</B><DD>Returns the loader.</DL> |
||
333 | </DD>
|
||
334 | </DL>
|
||
335 | <HR>
|
||
336 | |||
337 | <A NAME="getPluginServices(java.lang.Object)"><!-- --></A><H3> |
||
338 | getPluginServices</H3>
|
||
339 | <PRE>
|
||
340 | public static <A HREF="../../../com/iver/andami/PluginServices.html" title="class in com.iver.andami">PluginServices</A> <B>getPluginServices</B>(java.lang.Object pluginClassInstance)</PRE> |
||
341 | <DL>
|
||
342 | <DD>Obtienen una referencia al PluginServices del plugin cuyo nombre se pasa
|
||
343 | como par?metro |
||
344 | <P>
|
||
345 | <DD><DL> |
||
346 | <DT><B>Parameters:</B><DD><CODE>pluginClassInstance</CODE> - Instancia de una clase propia del plugin a |
||
347 | cuyos servicios se quiere acceder |
||
348 | <DT><B>Returns:</B><DD>Objeto PluginServices asociado al plugin |
||
349 | <DT><B>Throws:</B> |
||
350 | <DD><CODE>java.lang.RuntimeException</CODE> - Si el par?metro no es un objeto cargado desde un plugin</DL> |
||
351 | </DD>
|
||
352 | </DL>
|
||
353 | <HR>
|
||
354 | |||
355 | <A NAME="getPluginServices(java.lang.String)"><!-- --></A><H3> |
||
356 | getPluginServices</H3>
|
||
357 | <PRE>
|
||
358 | public static <A HREF="../../../com/iver/andami/PluginServices.html" title="class in com.iver.andami">PluginServices</A> <B>getPluginServices</B>(java.lang.String pluginName)</PRE> |
||
359 | <DL>
|
||
360 | <DD>Obtienen una referencia al PluginServices del plugin cuyo nombre se pasa
|
||
361 | como par?metro |
||
362 | <P>
|
||
363 | <DD><DL> |
||
364 | <DT><B>Parameters:</B><DD><CODE>pluginName</CODE> - Instancia de una clase propia del plugin a cuyos |
||
365 | servicios se quiere acceder |
||
366 | <DT><B>Returns:</B><DD>Objeto PluginServices asociado al plugin</DL> |
||
367 | </DD>
|
||
368 | </DL>
|
||
369 | <HR>
|
||
370 | |||
371 | <A NAME="getMDIManager()"><!-- --></A><H3> |
||
372 | getMDIManager</H3>
|
||
373 | <PRE>
|
||
374 | public static <A HREF="../../../com/iver/andami/ui/mdiManager/MDIManager.html" title="interface in com.iver.andami.ui.mdiManager">MDIManager</A> <B>getMDIManager</B>()</PRE> |
||
375 | <DL>
|
||
376 | <DD>Obtiene una referencia al gestor de ventanas
|
||
377 | <P>
|
||
378 | <DD><DL> |
||
379 | |||
380 | <DT><B>Returns:</B><DD>MDIManager</DL> |
||
381 | </DD>
|
||
382 | </DL>
|
||
383 | <HR>
|
||
384 | |||
385 | <A NAME="getMainFrame()"><!-- --></A><H3> |
||
386 | getMainFrame</H3>
|
||
387 | <PRE>
|
||
388 | public static <A HREF="../../../com/iver/andami/ui/mdiFrame/MainFrame.html" title="interface in com.iver.andami.ui.mdiFrame">MainFrame</A> <B>getMainFrame</B>()</PRE> |
||
389 | <DL>
|
||
390 | <DD>Obtiene una referencia al marco principal de la
|
||
391 | aplicaci?n |
||
392 | <P>
|
||
393 | <DD><DL> |
||
394 | |||
395 | <DT><B>Returns:</B><DD>MainFrame</DL> |
||
396 | </DD>
|
||
397 | </DL>
|
||
398 | <HR>
|
||
399 | |||
400 | <A NAME="getExtension(java.lang.Class)"><!-- --></A><H3> |
||
401 | getExtension</H3>
|
||
402 | <PRE>
|
||
403 | public static <A HREF="../../../com/iver/andami/plugins/Extension.html" title="interface in com.iver.andami.plugins">Extension</A> <B>getExtension</B>(java.lang.Class extensionClass)</PRE> |
||
404 | <DL>
|
||
405 | <DD>Obtiene una referencia a la instancia de la extensi?n
|
||
406 | cuya clase se pasa como par?metro |
||
407 | <P>
|
||
408 | <DD><DL> |
||
409 | <DT><B>Parameters:</B><DD><CODE>extensionClass</CODE> - Clase de la extensi?n cuya instancia se quiere obtener |
||
410 | <DT><B>Returns:</B><DD>Instancia de la extensi?n o null en caso de que no haya |
||
411 | una extensi?n con esa clase</DL>
|
||
412 | </DD>
|
||
413 | </DL>
|
||
414 | <HR>
|
||
415 | |||
416 | <A NAME="getExtensions()"><!-- --></A><H3> |
||
417 | getExtensions</H3>
|
||
418 | <PRE>
|
||
419 | public static java.util.Iterator <B>getExtensions</B>()</PRE> |
||
420 | <DL>
|
||
421 | <DD>Obtiene un iterador sobre las extensiones
|
||
422 | <P>
|
||
423 | <DD><DL> |
||
424 | |||
425 | <DT><B>Returns:</B><DD>Iterator</DL> |
||
426 | </DD>
|
||
427 | </DL>
|
||
428 | <HR>
|
||
429 | |||
430 | <A NAME="getText(java.lang.Object, java.lang.String)"><!-- --></A><H3> |
||
431 | getText</H3>
|
||
432 | <PRE>
|
||
433 | public static java.lang.String <B>getText</B>(java.lang.Object pluginObject, |
||
434 | java.lang.String key)</PRE> |
||
435 | <DL>
|
||
436 | <DD>Obtiene una traducci?n de un plugin
|
||
437 | <P>
|
||
438 | <DD><DL> |
||
439 | <DT><B>Parameters:</B><DD><CODE>pluginObject</CODE> - Objeto cargado desde un plugin<DD><CODE>key</CODE> - Nombre de la clave cuyo valor se quiere obtener |
||
440 | <DT><B>Returns:</B><DD>El valor, si existe. La clave si no existe. Si el objeto que |
||
441 | se pasa como par?metro no ha sido cargado desde un plugin |
||
442 | se devuelve la clave.</DL>
|
||
443 | </DD>
|
||
444 | </DL>
|
||
445 | <HR>
|
||
446 | |||
447 | <A NAME="setPersistentXML(com.iver.utiles.XMLEntity)"><!-- --></A><H3> |
||
448 | setPersistentXML</H3>
|
||
449 | <PRE>
|
||
450 | public void <B>setPersistentXML</B>(com.iver.utiles.XMLEntity entity)</PRE> |
||
451 | <DL>
|
||
452 | <DD>Establece los datos del plugin que deber?n persistir entre ejecuciones
|
||
453 | en formato xml |
||
454 | <P>
|
||
455 | <DD><DL> |
||
456 | <DT><B>Parameters:</B><DD><CODE>entity</CODE> - DOCUMENT ME!</DL> |
||
457 | </DD>
|
||
458 | </DL>
|
||
459 | <HR>
|
||
460 | |||
461 | <A NAME="getPersistentXML()"><!-- --></A><H3> |
||
462 | getPersistentXML</H3>
|
||
463 | <PRE>
|
||
464 | public com.iver.utiles.XMLEntity <B>getPersistentXML</B>()</PRE> |
||
465 | <DL>
|
||
466 | <DD>Obtiene un objeto que representa la persistencia del plugin en formato
|
||
467 | xml. |
||
468 | <P>
|
||
469 | <DD><DL> |
||
470 | |||
471 | <DT><B>Returns:</B><DD>Devuelve null hasta que se invoca el m?todo setPersistentXML</DL> |
||
472 | </DD>
|
||
473 | </DL>
|
||
474 | <HR>
|
||
475 | |||
476 | <A NAME="addPopupMenuListener(java.lang.String, java.awt.Component, java.awt.event.ActionListener)"><!-- --></A><H3> |
||
477 | addPopupMenuListener</H3>
|
||
478 | <PRE>
|
||
479 | public void <B>addPopupMenuListener</B>(java.lang.String name, |
||
480 | java.awt.Component c,
|
||
481 | java.awt.event.ActionListener listener)</PRE> |
||
482 | <DL>
|
||
483 | <DD>A?ade un listener a un popup menu registrado en el
|
||
484 | config.xml de alg?n plugin |
||
485 | <P>
|
||
486 | <DD><DL> |
||
487 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - Nombre del men? contextual<DD><CODE>c</CODE> - Componente que desplegar? el men? cuando |
||
488 | se haga click con el bot?n derecho<DD><CODE>listener</CODE> - Listener que se ejecutar? cuando se |
||
489 | seleccione cualquier entrada del men? |
||
490 | <DT><B>Throws:</B> |
||
491 | <DD><CODE>java.lang.RuntimeException</CODE> - Si la interfaz no est? preparada |
||
492 | todav?a. S?lo puede darse durante el arranque</DL>
|
||
493 | </DD>
|
||
494 | </DL>
|
||
495 | <HR>
|
||
496 | |||
497 | <A NAME="getPluginDirectory()"><!-- --></A><H3> |
||
498 | getPluginDirectory</H3>
|
||
499 | <PRE>
|
||
500 | public java.io.File <B>getPluginDirectory</B>()</PRE> |
||
501 | <DL>
|
||
502 | <DD>Obtiene una referencia al directorio del plugin
|
||
503 | <P>
|
||
504 | <DD><DL> |
||
505 | |||
506 | <DT><B>Returns:</B><DD>File</DL> |
||
507 | </DD>
|
||
508 | </DL>
|
||
509 | <HR>
|
||
510 | |||
511 | <A NAME="backgroundExecution(java.lang.Runnable)"><!-- --></A><H3> |
||
512 | backgroundExecution</H3>
|
||
513 | <PRE>
|
||
514 | public static java.lang.Thread <B>backgroundExecution</B>(java.lang.Runnable r)</PRE> |
||
515 | <DL>
|
||
516 | <DD>Ejecuta una tarea en segundo plano, dejando a la
|
||
517 | interfaz responder pero inhibiendo los eventos |
||
518 | <P>
|
||
519 | <DD><DL> |
||
520 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - Tarea a ejecutar |
||
521 | <DT><B>Returns:</B><DD>Thread en el que se ejecuta la tarea</DL> |
||
522 | </DD>
|
||
523 | </DL>
|
||
524 | <!-- ========= END OF CLASS DATA ========= -->
|
||
525 | <HR>
|
||
526 | |||
527 | |||
528 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
529 | <A NAME="navbar_bottom"><!-- --></A> |
||
530 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
531 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
532 | <TR>
|
||
533 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
534 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
535 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
536 | <TR ALIGN="center" VALIGN="top"> |
||
537 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
538 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
539 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
540 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PluginServices.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
541 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
542 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
543 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
544 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
545 | </TR>
|
||
546 | </TABLE>
|
||
547 | </TD>
|
||
548 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
549 | </EM>
|
||
550 | </TD>
|
||
551 | </TR>
|
||
552 | |||
553 | <TR>
|
||
554 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
555 | <A HREF="../../../com/iver/andami/Launcher.html" title="class in com.iver.andami"><B>PREV CLASS</B></A> |
||
556 | <A HREF="../../../com/iver/andami/Utilities.html" title="class in com.iver.andami"><B>NEXT CLASS</B></A></FONT></TD> |
||
557 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
558 | <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
||
559 | <A HREF="PluginServices.html" target="_top"><B>NO FRAMES</B></A> |
||
560 | <SCRIPT type="text/javascript"> |
||
561 | <!--
|
||
562 | if(window==top) {
|
||
563 | document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
564 | }
|
||
565 | //-->
|
||
566 | </SCRIPT>
|
||
567 | <NOSCRIPT>
|
||
568 | <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
569 | </NOSCRIPT>
|
||
570 | |||
571 | </FONT></TD> |
||
572 | </TR>
|
||
573 | <TR>
|
||
574 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
575 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
576 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
577 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
578 | </TR>
|
||
579 | </TABLE>
|
||
580 | <A NAME="skip-navbar_bottom"></A> |
||
581 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
582 | |||
583 | <HR>
|
||
584 | |||
585 | </BODY>
|
||
586 | </HTML> |