A plugin is a class that augments the capabilities of Amos Graphics. It contains methods that Amos Graphics can call at key points during an analysis. Plugins that you write have access to the Amos Graphics classes and to the AmosEngine class.
Amos comes with some pre-written plugins that appear on the Plugins menu. Source code for the pre-written plugins is in the folder %amosprogram%\Programming\Plugins
The following two sections each give a step-by-step demonstration of writing a plugin. The plugin that is created during the demonstration does not do any useful work. Its purpose is to show how to write a simple plugin that can respond to events that occur while Amos Graphics is running. After you go through the steps of the demonstration, the plugin will appear as an item on the Amos Graphics Plugins menu with the name A simple plugin. When you click A simple plugin, a messagebox will display "Installing a simple plugin". After that, clicking any point on the path diagram will display another messagebox with the text "You released a mouse button.".
A mouse click is only one of many events that your plugins can respond to.