PageRenderTime 66ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/42docs/users-guide/plugin-implement-reloading.html

#
HTML | 23 lines | 23 code | 0 blank | 0 comment | 0 complexity | 05dbd5d6696ed040f7a44ed4e637616b 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. <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Reloading the Plugin</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="jEdit 4.2 User's Guide"><link rel="up" href="plugin-implement.html" title="Chapter 18. Implementing a Simple Plugin"><link rel="previous" href="plugin-implement-building.html" title="Compiling the Plugin"><link rel="next" href="plugin-tips.html" title="Chapter 19. Plugin Tips and Techniques"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Reloading the Plugin</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="plugin-implement-building.html">Prev</a> </td><th width="60%" align="center">Chapter 18. Implementing a Simple Plugin</th><td width="20%" align="right"> <a accesskey="n" href="plugin-tips.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="plugin-implement-reloading"></a>Reloading the Plugin</h2></div></div><div></div></div><p>
  2. Once you have compiled your plugin using the 4.2 API you will need to reload
  3. it to test it. Follow these steps to reload your plugin without restarting jEdit:
  4. </p><div class="itemizedlist"><ul type="disc"><li><p>
  5. From the Plugins menu open the Plugin Manager.
  6. </p></li><li><p>
  7. On the Manage tab uncheck Hide libraries. This will
  8. allow you to see plugins that are not loaded.
  9. </p></li><li><p>
  10. Find the plugin on the Manage tab and uncheck it. This will unload the plugin.
  11. You will get a warning if this plugin does not support dynamic reloading.
  12. If you get that warning you will need to restart jEdit to reload the plugin
  13. until the plugin is converted over to the 4.2 API.
  14. </p></li><li><p>
  15. Recheck the plugin to reload it.
  16. </p></li></ul></div><p>
  17. The jEdit web site contains a macro and an Ant task that can be used as an alternative
  18. method for dynamically reloading plugins.
  19. </p><p>
  20. If you have reached this point in the text, you are probably serious
  21. about writing a plugin for jEdit. Good luck with your efforts, and
  22. thank you for contributing to the jEdit project.
  23. </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="plugin-implement-building.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="plugin-implement.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="plugin-tips.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Compiling the Plugin </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 19. Plugin Tips and Techniques</td></tr></table></div></body></html>