/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
- <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>
- Once you have compiled your plugin using the 4.2 API you will need to reload
- it to test it. Follow these steps to reload your plugin without restarting jEdit:
- </p><div class="itemizedlist"><ul type="disc"><li><p>
- From the Plugins menu open the Plugin Manager.
- </p></li><li><p>
- On the Manage tab uncheck Hide libraries. This will
- allow you to see plugins that are not loaded.
- </p></li><li><p>
- Find the plugin on the Manage tab and uncheck it. This will unload the plugin.
- You will get a warning if this plugin does not support dynamic reloading.
- If you get that warning you will need to restart jEdit to reload the plugin
- until the plugin is converted over to the 4.2 API.
- </p></li><li><p>
- Recheck the plugin to reload it.
- </p></li></ul></div><p>
- The jEdit web site contains a macro and an Ant task that can be used as an alternative
- method for dynamically reloading plugins.
- </p><p>
- If you have reached this point in the text, you are probably serious
- about writing a plugin for jEdit. Good luck with your efforts, and
- thank you for contributing to the jEdit project.
- </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>