Example: Making a new plug-in

To create a new plug-in for SimplyHTML,

1. copy file PluginTemplate.java into your plug-in project's source directory
2. rename PluginTemplate.java to a name you would like to give your new plug-in class
3. change the parameters of call super in PluginTemplate 's constructor according to names you choose (refer to class AbstractPlugin for a definition of these parameters)
4. create one or more . properties files as needed for your new plug-in (you can use file PluginTemplate.properties a an example)
5. adjust parameter "pluginTemplateLabel" in method getGUIName to an ID String referring to respective entry in your . properties file(s)
6. add methods and fields to implement the functionality desired for your new plug-in
7. compile the new plug-in's source file ( .java) to a .class file
8. place .class file and .properties file(s) into a Java archive (JAR) file, package com.lightdev.app.shtm.plugin.installed
9. place the JAR file into the directory SimplyHTML.jar is installed in

When starting SimplyHTML for the next time, your new plug-in should be listed in the 'Manage Plugins...' dialog.