org.rosuda.plugins
Class PluginModelLoader

java.lang.Object
  extended by org.rosuda.plugins.Plugin
      extended by org.rosuda.plugins.PluginModelLoader
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class PluginModelLoader
extends Plugin
implements java.awt.event.ActionListener


Field Summary
 
Fields inherited from class org.rosuda.plugins.Plugin
author, cancel, desc, err, name, PT_GenTree, type
 
Constructor Summary
PluginModelLoader()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          activated if a button was pressed.
 void addModel(java.lang.String m, java.lang.String name)
           
 boolean checkParameters()
           
 boolean execPlugin()
           
 java.lang.Object getParameter(java.lang.String par)
           
 boolean initPlugin()
           
 boolean pluginDlg(java.awt.Frame f)
           
 void setParameter(java.lang.String par, java.lang.Object val)
           
 
Methods inherited from class org.rosuda.plugins.Plugin
donePlugin, getAuthor, getDescription, getLastError, getName, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginModelLoader

public PluginModelLoader()
Method Detail

initPlugin

public boolean initPlugin()
Overrides:
initPlugin in class Plugin

setParameter

public void setParameter(java.lang.String par,
                         java.lang.Object val)
Overrides:
setParameter in class Plugin

getParameter

public java.lang.Object getParameter(java.lang.String par)
Overrides:
getParameter in class Plugin

checkParameters

public boolean checkParameters()
Overrides:
checkParameters in class Plugin

pluginDlg

public boolean pluginDlg(java.awt.Frame f)
Overrides:
pluginDlg in class Plugin

addModel

public void addModel(java.lang.String m,
                     java.lang.String name)

execPlugin

public boolean execPlugin()
Overrides:
execPlugin in class Plugin

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
activated if a button was pressed. It determines whether "cancer" was pressed or OK"

Specified by:
actionPerformed in interface java.awt.event.ActionListener