|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rosuda.plugins.Plugin
org.rosuda.plugins.PluginDeriveVar
public class PluginDeriveVar
| Field Summary | |
|---|---|
static boolean |
initializedSuccessfully
|
static int |
lastID
|
static java.lang.String |
lastRbin
|
static java.lang.String |
lastRcall
|
static java.lang.String |
lastRver
|
| Fields inherited from class org.rosuda.plugins.Plugin |
|---|
author, cancel, desc, err, name, PT_GenTree, type |
| Constructor Summary | |
|---|---|
PluginDeriveVar()
create a new instance of the plugin |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
activated if a button was pressed. |
boolean |
checkParameters()
check consistency of the parameters; for this plugin all we need is the dataset. |
boolean |
execPlugin()
executes plugin - generates a tree. |
java.lang.Object |
getParameter(java.lang.String par)
get a plugin parameter |
boolean |
initPlugin()
initialize plugin insteance |
boolean |
pluginDlg(java.awt.Frame f)
pop up dialog asking for variables to be used, response, library and parameters |
void |
setParameter(java.lang.String par,
java.lang.Object val)
set a plugin parameter |
| 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 |
| Field Detail |
|---|
public static boolean initializedSuccessfully
public static java.lang.String lastRbin
public static java.lang.String lastRver
public static java.lang.String lastRcall
public static int lastID
| Constructor Detail |
|---|
public PluginDeriveVar()
| Method Detail |
|---|
public void setParameter(java.lang.String par,
java.lang.Object val)
setParameter in class Pluginpar - parameter nameval - parameter valuepublic java.lang.Object getParameter(java.lang.String par)
getParameter in class Pluginpar - parameter name
null if not availiablepublic boolean initPlugin()
initPlugin in class Plugintrue if the initialization was successfulpublic boolean checkParameters()
checkParameters in class Pluginpublic boolean pluginDlg(java.awt.Frame f)
pluginDlg in class Pluginf - parent frame
false if the selection was invalid or user pressed cancel.
Check the boolean "cancel" variable to see if the cause was error or cancelpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic boolean execPlugin()
useRserv is true then an Rserv connection
is established (if not existing already due to holdConnection). If Rserv id not availiable,
fall back to native R
execPlugin in class Plugintrue if everything went fine, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||