|
|||||||||
| 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 String |
lastRbin
|
static String |
lastRcall
|
static 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(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. |
Object |
getParameter(String par)
get a plugin parameter |
boolean |
initPlugin()
initialize plugin insteance |
boolean |
pluginDlg(Frame f)
pop up dialog asking for variables to be used, response, library and parameters |
void |
setParameter(String par,
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 String lastRbin
public static String lastRver
public static String lastRcall
public static int lastID
| Constructor Detail |
|---|
public PluginDeriveVar()
| Method Detail |
|---|
public void setParameter(String par,
Object val)
setParameter in class Pluginpar - parameter nameval - parameter valuepublic Object getParameter(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(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(ActionEvent e)
actionPerformed in interface 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 | ||||||||