MAEPlugin
Class MenuPlugin

java.lang.Object
  |
  +--MAEPlugin.MAEPlugin
        |
        +--MAEPlugin.MenuPlugin
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, PluginStub
Direct Known Subclasses:
ConnectionPlugin, PopupPlugin

public abstract class MenuPlugin
extends MAEPlugin
implements java.awt.event.ActionListener

This abstract class defines MenuPlugin class. Created on September 10, 2001, 8:00 AM

This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government. As a work of the United States Government there is no associated copyright. It is offered as open source software under the Mozilla Public License (version 1.1) subject to the limitations noted in the accompanying LEGAL file. This notice must be included with the code. The MAExplorer Mozilla and Legal files are available on http://maexplorer.sourceforge.net/.

Version:
$Date: 2002/10/13 17:39:33 $ / $Revision: $
Author:
Jai Evans (DECA/CIT), C. Santos (DECA/CIT), P. Lemkin (NCI-FCRDC)
See Also:
MAExplorer Home

Fields inherited from class MAEPlugin.MAEPlugin
DBUG_MAEP, jarResources, registryMaxSize
 
Fields inherited from interface MAEPlugin.PluginStub
PLUGIN_VERSION
 
Constructor Summary
MenuPlugin()
          MenuPlugin() - constructor to override to implement the plugin
MenuPlugin(java.lang.String label)
          MenuPlugin() - constructor for menu.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          actionPerformed() - actionListener
 void pluginMain()
          pluginMain() - abstract the method end-users implement to use the API
 
Methods inherited from class MAEPlugin.MAEPlugin
getFlag, getInstance, getMAEStub, getMenuHook, getMenuInsertionPointName, getMenuItem, getNumberPlugins, getPluginDescription, getPluginFileName, getPluginName, getPlugins, menuActivated, pluginHalt, pluginInit, removePlugin, setFlag, setJarResources, setMAEStub, setMenuHook, setMenuInsertionPointName, setMenuItem, setMenuLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuPlugin

public MenuPlugin(java.lang.String label)
MenuPlugin() - constructor for menu. Here we add in actionListeners to the menu item.
Parameters:
label - to assign to the plugin and menu item label

MenuPlugin

public MenuPlugin()
MenuPlugin() - constructor to override to implement the plugin
Method Detail

actionPerformed

public final void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed() - actionListener
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - is the ActionEvent

pluginMain

public void pluginMain()
pluginMain() - abstract the method end-users implement to use the API
Overrides:
pluginMain in class MAEPlugin