Parts of the plug-in architecture

To meet the previously stated requirements SimplyHTML provides the following new parts

Part

Description

SHTMLPlugin

The interface all plug-ins to SimplyHTML must implement

AbstractPlugin

A base class plug-ins can extend

PluginManager

Class to find and load plug-ins

FrmMain

Extended by an initialization method for plug-ins using the PluginManager

PluginTemplate

Class and properties files forming a basic plug-in for explanatory purposes and as copy template for plug-in creation

ManagePluginsAction

Action to show a PluginManagerDialog

PluginManagerDialog

Dialog for managing plug-ins (activate/deactivate, dock location, etc.)

While application SimplyHTML is distributed in package com.lightdev.app.shtm, the above parts are in package com.lightdev.app.shtm.plugin. Package plugin is also the root package for all plug-ins to be added to SimplyHTML.