|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--MAEPlugin.MAEPlugin | +--MAEPlugin.MenuPlugin | +--MAEPlugin.popup.PopupPlugin | +--MAEPlugin.popup.PluginLoader
This class contains the dynamic MAEplugin loader. It will load either .jar or .class files (the latter is useful for debugging since no jar packaging is required).
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/.
Fields inherited from class MAEPlugin.MAEPlugin |
DBUG_MAEP, jarResources, registryMaxSize |
Fields inherited from interface MAEPlugin.PluginStub |
PLUGIN_VERSION |
Constructor Summary | |
PluginLoader(MAEStub stub)
PluginLoader() - Creates new LoadPlugins. |
|
PluginLoader(MAEStub stub,
java.lang.String pluginJarPath)
PluginLoader() - Creates new LoadPlugin but do it siliently. |
Method Summary | |
boolean |
accept(java.io.File dir,
java.lang.String name)
accept() - implentation of FilenameFilter. |
java.lang.String |
getPluginDescription()
getPluginDescription() - This returns a human readable description of the Plugin |
boolean |
loadPluginSilently(java.lang.String path)
loadPluginSilently() - silently tests and loads good MAPlugin from the path. |
void |
pluginMain()
pluginMain() - Is the method end-users implement to use the API. |
void |
updateCurGene(int mid)
updateCurGene() - update any data since current gene has changed. |
void |
updateFilter()
updateFilter() - update any dependent data since Filter has changed. |
void |
updateLabels()
updateLabels() - update any dependent data since global labels have changed. |
void |
updateSlider()
updateSlider() - update any dependent data sincea threshold slider has changed. |
Methods inherited from class MAEPlugin.MenuPlugin |
actionPerformed |
Methods inherited from class MAEPlugin.MAEPlugin |
getFlag, getInstance, getMAEStub, getMenuHook, getMenuInsertionPointName, getMenuItem, getNumberPlugins, 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 |
public PluginLoader(MAEStub stub) throws PluginException
stub
- is the plugin stubPluginException
- public PluginLoader(MAEStub stub, java.lang.String pluginJarPath) throws PluginException
stub
- is the plugin stubPluginException
- Method Detail |
public final boolean loadPluginSilently(java.lang.String path)
path
- to search for pluginpublic boolean accept(java.io.File dir, java.lang.String name)
accept
in interface java.io.FilenameFilter
dir
- is the diredtory to browsename
- is the file to test for extensionspublic void pluginMain()
pluginMain
in class MenuPlugin
public java.lang.String getPluginDescription()
getPluginDescription
in class MAEPlugin
public void updateCurGene(int mid)
updateCurGene
in class PopupPlugin
ml
- is the gene list to update now that filter has changed.public void updateFilter()
updateFilter
in class PopupPlugin
public void updateSlider()
updateSlider
in class PopupPlugin
public void updateLabels()
updateLabels
in class PopupPlugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |