[rkward-cvs] SF.net SVN: rkward-code:[4957] trunk/rkward/packages/rkwarddev
m-eik at users.sf.net
m-eik at users.sf.net
Sun Oct 26 00:46:50 UTC 2014
Revision: 4957
http://sourceforge.net/p/rkward/code/4957
Author: m-eik
Date: 2014-10-26 00:46:49 +0000 (Sun, 26 Oct 2014)
Log Message:
-----------
removed arguments "help" and "component" from rk.XML.optionscolumn() again, as these are already being documented via the objects they connect to; all "help" values can now be a list of character strings or XiMpLe nodes, to have more control over the markup
Modified Paths:
--------------
trunk/rkward/packages/rkwarddev/ChangeLog
trunk/rkward/packages/rkwarddev/DESCRIPTION
trunk/rkward/packages/rkwarddev/R/rk.XML.browser.R
trunk/rkward/packages/rkwarddev/R/rk.XML.cbox.R
trunk/rkward/packages/rkwarddev/R/rk.XML.dropdown.R
trunk/rkward/packages/rkwarddev/R/rk.XML.input.R
trunk/rkward/packages/rkwarddev/R/rk.XML.matrix.R
trunk/rkward/packages/rkwarddev/R/rk.XML.optioncolumn.R
trunk/rkward/packages/rkwarddev/R/rk.XML.radio.R
trunk/rkward/packages/rkwarddev/R/rk.XML.saveobj.R
trunk/rkward/packages/rkwarddev/R/rk.XML.select.R
trunk/rkward/packages/rkwarddev/R/rk.XML.spinbox.R
trunk/rkward/packages/rkwarddev/R/rk.XML.values.R
trunk/rkward/packages/rkwarddev/R/rk.XML.valueslot.R
trunk/rkward/packages/rkwarddev/R/rk.XML.vars.R
trunk/rkward/packages/rkwarddev/R/rk.XML.varslot.R
trunk/rkward/packages/rkwarddev/R/rk.rkh.scan.R
trunk/rkward/packages/rkwarddev/R/rk.rkh.setting.R
trunk/rkward/packages/rkwarddev/R/rk.set.rkh.prompter.R
trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R
trunk/rkward/packages/rkwarddev/man/echo.Rd
trunk/rkward/packages/rkwarddev/man/i18n.Rd
trunk/rkward/packages/rkwarddev/man/id.Rd
trunk/rkward/packages/rkwarddev/man/ite.Rd
trunk/rkward/packages/rkwarddev/man/join.Rd
trunk/rkward/packages/rkwarddev/man/qp.Rd
trunk/rkward/packages/rkwarddev/man/rk.JS.array.Rd
trunk/rkward/packages/rkwarddev/man/rk.JS.doc.Rd
trunk/rkward/packages/rkwarddev/man/rk.JS.options.Rd
trunk/rkward/packages/rkwarddev/man/rk.JS.optionset.Rd
trunk/rkward/packages/rkwarddev/man/rk.JS.saveobj.Rd
trunk/rkward/packages/rkwarddev/man/rk.JS.scan.Rd
trunk/rkward/packages/rkwarddev/man/rk.JS.vars.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.about.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.browser.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.cbox.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.component.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.components.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.connect.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.convert.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.copy.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.dependencies.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.dependency_check.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.dialog.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.dropdown.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.embed.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.formula.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.frame.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.input.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.logic.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.matrix.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.menu.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.option.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.optioncolumn.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.optionset.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.page.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.plugin.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.pluginmap.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.radio.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.require.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.saveobj.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.select.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.set.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.snippets.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.spinbox.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.switch.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.values.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.valueselector.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.valueslot.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.vars.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.varslot.Rd
trunk/rkward/packages/rkwarddev/man/rk.XML.wizard.Rd
trunk/rkward/packages/rkwarddev/man/rk.build.plugin.Rd
trunk/rkward/packages/rkwarddev/man/rk.get.rkh.prompter.Rd
trunk/rkward/packages/rkwarddev/man/rk.paste.JS.Rd
trunk/rkward/packages/rkwarddev/man/rk.paste.JS.graph.Rd
trunk/rkward/packages/rkwarddev/man/rk.plotOptions.Rd
trunk/rkward/packages/rkwarddev/man/rk.plugin.component.Rd
trunk/rkward/packages/rkwarddev/man/rk.plugin.skeleton.Rd
trunk/rkward/packages/rkwarddev/man/rk.rkh.doc.Rd
trunk/rkward/packages/rkwarddev/man/rk.rkh.scan.Rd
trunk/rkward/packages/rkwarddev/man/rk.rkh.settings.Rd
trunk/rkward/packages/rkwarddev/man/rk.set.comp.Rd
trunk/rkward/packages/rkwarddev/man/rk.set.language.Rd
trunk/rkward/packages/rkwarddev/man/rk.set.rkh.prompter.Rd
trunk/rkward/packages/rkwarddev/man/rkwarddev-package.Rd
trunk/rkward/packages/rkwarddev/man/rkwarddev.required.Rd
trunk/rkward/packages/rkwarddev/man/tf.Rd
Modified: trunk/rkward/packages/rkwarddev/ChangeLog
===================================================================
--- trunk/rkward/packages/rkwarddev/ChangeLog 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/ChangeLog 2014-10-26 00:46:49 UTC (rev 4957)
@@ -1,9 +1,14 @@
ChangeLog for package rkwarddev
-changes in version 0.06-6 (2014-10-24)
+changes in version 0.06-6 (2014-10-25)
fixed:
- rk.XML.optionset() does now allow to re-use objects defined in the same
function call (i.e., refer to optioncolumns in the logic section)
+ - removed arguments "help" and "component" from rk.XML.optionscolumn() again,
+ as these are already being documented via the objects they connect to.
+added:
+ - all "help" values can now be a list of character strings or XiMpLe nodes,
+ to have more control over the markup
changes in version 0.06-5 (2014-10-19)
fixed:
Modified: trunk/rkward/packages/rkwarddev/DESCRIPTION
===================================================================
--- trunk/rkward/packages/rkwarddev/DESCRIPTION 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/DESCRIPTION 2014-10-26 00:46:49 UTC (rev 4957)
@@ -14,8 +14,8 @@
URL: http://rkward.sourceforge.net
Authors at R: c(person(given="Meik", family="Michalke",
email="meik.michalke at hhu.de", role=c("aut", "cre")))
-Version: 0.06-5
-Date: 2014-10-19
+Version: 0.06-6
+Date: 2014-10-26
Collate:
'00_class_01_rk.JS.arr.R'
'00_class_02_rk.JS.var.R'
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.browser.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.browser.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.browser.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -27,7 +27,7 @@
#' @param required Logical, whether an entry is mandatory or not.
#' @param id.name Character string, a unique ID for this plugin element.
#' If \code{"auto"} and a label was provided, an ID will be generated automatically from the label.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
#' Also needs \code{component} to be set accordingly!
#' @param component Character string, name of the component this node belongs to. Only needed if you
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.cbox.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.cbox.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.cbox.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -24,7 +24,7 @@
#' @param chk Logical, whether this element should be checked by default.
#' @param id.name Character string, a unique ID for this plugin element.
#' If \code{"auto"}, an ID will be generated automatically from the label.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
#' Also needs \code{component} to be set accordingly!
#' @param component Character string, name of the component this node belongs to. Only needed if you
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.dropdown.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.dropdown.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.dropdown.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -25,7 +25,7 @@
#' \code{\link[rkwarddev:rk.XML.option]{rk.XML.option}} are accepted as well.
#' @param id.name Character string, a unique ID for this plugin element.
#' If \code{"auto"} and a label was provided, an ID will be generated automatically from the label.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
#' Also needs \code{component} to be set accordingly!
#' @param component Character string, name of the component this node belongs to. Only needed if you
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.input.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.input.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.input.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -24,7 +24,7 @@
#' @param required Logical, whether an entry is mandatory or not.
#' @param id.name Character string, a unique ID for this plugin element.
#' If \code{"auto"}, an ID will be generated automatically from the label.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
#' Also needs \code{component} to be set accordingly!
#' @param component Character string, name of the component this node belongs to. Only needed if you
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.matrix.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.matrix.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.matrix.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -46,7 +46,7 @@
#' @param vert_headers Character vector to use for the vertical header. Defaults to row number.
#' @param id.name Character string, a unique ID for this plugin element.
#' If \code{"auto"}, an ID will be generated automatically from the label.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
#' Also needs \code{component} to be set accordingly!
#' @param component Character string, name of the component this node belongs to. Only needed if you
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.optioncolumn.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.optioncolumn.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.optioncolumn.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -34,12 +34,6 @@
#' @param default Character string, only for external columns: The value to assume for this column, if no value is known for an entry. Rarely useful.
#' @param id.name Character string, a unique ID for this plugin element.
#' If \code{"auto"}, an ID will be generated automatically from the \code{connect} object.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
-#' If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
-#' Also needs \code{component} to be set accordingly!
-#' @param component Character string, name of the component this node belongs to. Only needed if you
-#' want to use the scan features for automatic help file generation; needs \code{help} to be set
-#' accordingly, too!
#' @return An object of class \code{XiMpLe.node}.
#' @export
#' @seealso
@@ -49,8 +43,7 @@
#' @examples
#' myInput <- rk.XML.input(label="Given name(s)", size="small")
#' myOptCol <- rk.XML.optioncolumn(myInput, modifier="text")
-rk.XML.optioncolumn <- function(connect, modifier=NULL, label=TRUE, external=FALSE, default=NULL, id.name="auto",
- help=NULL, component=rk.get.comp()){
+rk.XML.optioncolumn <- function(connect, modifier=NULL, label=TRUE, external=FALSE, default=NULL, id.name="auto"){
connect.id <- check.ID(connect)
if(is.XiMpLe.node(connect) && !is.null(modifier)){
@@ -92,8 +85,5 @@
node <- XMLNode("optioncolumn",
attrs=attr.list)
- # check for .rkh content
- rk.set.rkh.prompter(component=component, id=attr.list[["id"]], help=help)
-
return(node)
}
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.radio.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.radio.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.radio.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -28,7 +28,7 @@
#' \code{\link[rkwarddev:rk.XML.option]{rk.XML.option}} are accepted as well.
#' @param id.name Character string, a unique ID for this plugin element.
#' If \code{"auto"} and a label was provided, an ID will be generated automatically from the label.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' Also needs \code{component} to be set accordingly!
#' @param component Character string, name of the component this node belongs to. Only needed if you
#' want to use the scan features for automatic help file generation; needs \code{help} to be set
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.saveobj.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.saveobj.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.saveobj.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -26,7 +26,7 @@
#' @param required Logical, whether an entry is mandatory or not.
#' @param id.name Character string, a unique ID for this plugin element.
#' If \code{"auto"} and a label was provided, an ID will be generated automatically from the label.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
#' Also needs \code{component} to be set accordingly!
#' @param component Character string, name of the component this node belongs to. Only needed if you
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.select.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.select.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.select.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -25,7 +25,7 @@
#' \code{\link[rkwarddev:rk.XML.option]{rk.XML.option}} are accepted as well.
#' @param id.name Character string, a unique ID for this plugin element.
#' If \code{"auto"} and a label was provided, an ID will be generated automatically from the label.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
#' Also needs \code{component} to be set accordingly!
#' @param component Character string, name of the component this node belongs to. Only needed if you
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.spinbox.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.spinbox.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.spinbox.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -27,7 +27,7 @@
#' @param max.precision Numeric, maximum number of digits that can be meaningfully represented.
#' @param id.name Character string, a unique ID for this plugin element.
#' If \code{"auto"} and a label was provided, an ID will be generated automatically from the label.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
#' Also needs \code{component} to be set accordingly!
#' @param component Character string, name of the component this node belongs to. Only needed if you
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.values.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.values.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.values.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -40,7 +40,7 @@
#' and valueslot (third entry). If \code{formula.dependent} is not \code{NULL}, a fourth and fifth entry is needed as well,
#' for the dependent valueslot and the formula node, respectively.
#' If \code{"auto"}, IDs will be generated automatically from \code{label} and \code{slot.text}.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
#' Also needs \code{component} to be set accordingly!
#' @param component Character string, name of the component this node belongs to. Only needed if you
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.valueslot.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.valueslot.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.valueslot.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -31,7 +31,7 @@
#' (0 means any number). Sets \code{multi=TRUE}.
#' @param id.name Character vector, unique ID for the valueslot.
#' If \code{"auto"}, the ID will be generated automatically from \code{label}.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
#' Also needs \code{component} to be set accordingly!
#' @param component Character string, name of the component this node belongs to. Only needed if you
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.vars.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.vars.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.vars.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -58,7 +58,7 @@
#' and varslot (third entry). If \code{formula.dependent} is not \code{NULL}, a fourth and fifth entry is needed as well,
#' for the dependent varslot and the formula node, respectively.
#' If \code{"auto"}, IDs will be generated automatically from \code{label} and \code{slot.text}.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
#' Also needs \code{component} to be set accordingly!
#' @param component Character string, name of the component this node belongs to. Only needed if you
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.varslot.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.varslot.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.varslot.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -41,7 +41,7 @@
#' of a variable!
#' @param id.name Character vector, unique ID for the varslot.
#' If \code{"auto"}, the ID will be generated automatically from \code{label}.
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
#' Also needs \code{component} to be set accordingly!
#' @param component Character string, name of the component this node belongs to. Only needed if you
Modified: trunk/rkward/packages/rkwarddev/R/rk.rkh.scan.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.rkh.scan.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.rkh.scan.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -30,7 +30,7 @@
rk.rkh.scan <- function(pXML, help=TRUE, captions=TRUE, component=NULL){
- settings.tags <- c("browser", "checkbox", "dropdown", "input", "matrix", "optioncolumn",
+ settings.tags <- c("browser", "checkbox", "dropdown", "input", "matrix",
"radio", "saveobject", "select", "spinbox", "valueslot", "varslot")
if(isTRUE(captions)){
Modified: trunk/rkward/packages/rkwarddev/R/rk.rkh.setting.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.rkh.setting.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.rkh.setting.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -49,7 +49,7 @@
text <- ""
} else {}
- node <- XMLNode("setting", text, attrs=attr.list)
+ node <- XMLNode("setting", attrs=attr.list, .children=child.list(text, empty=FALSE))
return(node)
}
Modified: trunk/rkward/packages/rkwarddev/R/rk.set.rkh.prompter.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.set.rkh.prompter.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rk.set.rkh.prompter.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -31,7 +31,7 @@
#' If \code{NULL}, this function quits silently without any action.
#' @param id Either a character string (the \code{id} of the node to store the help information for),
#' or an object of class \code{XiMpLe.node} (whose \code{id} will be extracted and used).
-#' @param help Character string, will be used as the \code{text} value for a setting node in the .rkh file.
+#' @param help Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
#' @param rm Logical, If \code{TRUE} will remove all information stored by the name of \code{component} (if
#' \code{id=NULL}) or of the given \code{id=NULL}, respectively.
#' @export
Modified: trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R 2014-10-26 00:46:49 UTC (rev 4957)
@@ -3,8 +3,8 @@
#' \tabular{ll}{
#' Package: \tab rkwarddev\cr
#' Type: \tab Package\cr
-#' Version: \tab 0.06-5\cr
-#' Date: \tab 2014-10-19\cr
+#' Version: \tab 0.06-6\cr
+#' Date: \tab 2014-10-26\cr
#' Depends: \tab R (>= 2.9.0),methods,XiMpLe (>= 0.03-21),rkward (>= 0.5.7)\cr
#' Enhances: \tab rkward\cr
#' Encoding: \tab UTF-8\cr
Modified: trunk/rkward/packages/rkwarddev/man/echo.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/echo.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/echo.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -7,20 +7,16 @@
}
\arguments{
\item{...}{One or several character strings and/or \code{XiMpLe.node} objects with plugin nodes,
-and/or objects of classes \code{rk.JS.arr} or \code{rk.JS.opt},
- simply separated by comma.}
+and/or objects of classes \code{rk.JS.arr} or \code{rk.JS.opt}, simply separated by comma.}
-\item{newline}{Character string,
- can be set to e.g. \code{"\n"} to force a newline after the call.}
+\item{newline}{Character string, can be set to e.g. \code{"\n"} to force a newline after the call.}
}
\value{
A character string.
}
\description{
-This function will take several elements, either character strings,
- or objects of class \code{XiMpLe.node}
-which hold an XML node of some plugin GUI definition,
- or objects of classes \code{rk.JS.arr} or \code{rk.JS.opt}.
+This function will take several elements, either character strings, or objects of class \code{XiMpLe.node}
+which hold an XML node of some plugin GUI definition, or objects of classes \code{rk.JS.arr} or \code{rk.JS.opt}.
From those, it will generate a ready-to-run JavaScript \code{echo();} call from it.
}
\examples{
Modified: trunk/rkward/packages/rkwarddev/man/i18n.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/i18n.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/i18n.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -17,8 +17,7 @@
\code{...}.
}
\details{
-If used in an \code{rkwarddev} script,
- this can be used to toggle the generation of plugins
+If used in an \code{rkwarddev} script, this can be used to toggle the generation of plugins
in a certain language.
}
\examples{
Modified: trunk/rkward/packages/rkwarddev/man/id.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/id.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/id.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -7,18 +7,14 @@
}
\arguments{
\item{...}{One or several character strings and/or \code{XiMpLe.node} objects with plugin nodes,
-and/or objects of classes \code{rk.JS.arr}, \code{rk.JS.opt} or \code{rk.JS.var},
- simply separated by comma.}
+and/or objects of classes \code{rk.JS.arr}, \code{rk.JS.opt} or \code{rk.JS.var}, simply separated by comma.}
-\item{quote}{Logical, it the character strings sould be deparsed,
- so they come out "as-is" when
+\item{quote}{Logical, it the character strings sould be deparsed, so they come out "as-is" when
written to files, e.g. by \code{cat}.}
-\item{collapse}{Character string,
- defining if and how the individual elements should be glued together.}
+\item{collapse}{Character string, defining if and how the individual elements should be glued together.}
-\item{js}{Logical,
- if \code{TRUE} returns JavaScript varaible names for \code{XiMpLe.node} objects.
+\item{js}{Logical, if \code{TRUE} returns JavaScript varaible names for \code{XiMpLe.node} objects.
Otherwise their actual ID is returned.}
}
\value{
@@ -27,10 +23,8 @@
\description{
This function is intended to be used for generating JavaScript code for
RKWard plugins. Its sole purpose is to replace objects of class \code{XiMpLe.node}
-which hold an XML node of some plugin GUI definition,
- and objects of classes \code{rk.JS.arr},
-\code{rk.JS.opt} or \code{rk.JS.var} with their ID (or JS variable name),
- and combine these
+which hold an XML node of some plugin GUI definition, and objects of classes \code{rk.JS.arr},
+\code{rk.JS.opt} or \code{rk.JS.var} with their ID (or JS variable name), and combine these
replacements with character strings.
}
\examples{
Modified: trunk/rkward/packages/rkwarddev/man/ite.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/ite.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/ite.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -9,14 +9,12 @@
\item{ifjs}{Either a character string to be placed in the brackets if an \code{if()} statement,
or an object of class \code{XiMpLe.node}. \code{rk.JS.arr} or \code{rk.JS.opt} (whose identifier will be used).}
-\item{thenjs}{Either a character string,
- the code to be executed in case the \code{if()} statement is true,
+\item{thenjs}{Either a character string, the code to be executed in case the \code{if()} statement is true,
or an object of class \code{XiMpLe.node}. \code{rk.JS.arr} or \code{rk.JS.opt} (whose identifier will be used).
The latter is especially useful in combination with \code{\link[rkwarddev:rk.JS.options]{rk.JS.options}}.
You can also give another object of class \code{rk.JS.ite}.}
-\item{elsejs}{Like \code{thenjs},
- the code to be executed in case the \code{if()} statement is not true.}
+\item{elsejs}{Like \code{thenjs}, the code to be executed in case the \code{if()} statement is not true.}
}
\value{
An object of class \code{rk.JS.ite}
Modified: trunk/rkward/packages/rkwarddev/man/join.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/join.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/join.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -17,10 +17,8 @@
}
\description{
This function pastes an object of class \code{rk.JS.arr} similar to \code{\link[rkwarddev:rk.paste.JS]{rk.paste.JS}},
-but was specifically written for elements like \code{<optionset>} or \code{<matrix>},
- whose values must be queried
-by \code{getList()} rather than \code{getValue()}. This means,
- the resulting variable is already an array an merely
+but was specifically written for elements like \code{<optionset>} or \code{<matrix>}, whose values must be queried
+by \code{getList()} rather than \code{getValue()}. This means, the resulting variable is already an array an merely
needs to be joined in as R code output (e.g., an \code{<optioncolumn>}).
}
\seealso{
Modified: trunk/rkward/packages/rkwarddev/man/qp.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/qp.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/qp.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -7,8 +7,7 @@
}
\arguments{
\item{...}{One or several character strings and/or \code{XiMpLe.node} objects with plugin nodes,
-and/or objects of classes \code{rk.JS.arr} or \code{rk.JS.opt},
- simply separated by comma.}
+and/or objects of classes \code{rk.JS.arr} or \code{rk.JS.opt}, simply separated by comma.}
}
\value{
A character string.
Modified: trunk/rkward/packages/rkwarddev/man/rk.JS.array.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.JS.array.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.JS.array.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -13,14 +13,12 @@
\item{variables}{A list with either character strings (the names of the variables to combine to a vector or list),
or objects of class \code{XiMpLe.node} with plugin XML nodes (whose ID will be extracted and used).}
-\item{funct}{Character string, name of the R function to be called to combine the options,
- e.g. "list" for \code{list()},
+\item{funct}{Character string, name of the R function to be called to combine the options, e.g. "list" for \code{list()},
or "c" for \code{c()}.}
\item{var.prefix}{A character string. sets a global string to be used as a prefix for the JS variable names.}
-\item{quote}{Logical, if \code{TRUE},
- the values will be quoted in the resulting R code (might be neccessary
+\item{quote}{Logical, if \code{TRUE}, the values will be quoted in the resulting R code (might be neccessary
for character values).}
}
\value{
Modified: trunk/rkward/packages/rkwarddev/man/rk.JS.doc.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.JS.doc.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.JS.doc.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -15,8 +15,7 @@
or an object of class \code{rk.JS.var} which will be coerced into character. These variables will be defined in
the \code{calculate()} and/or \code{doPrintout()} functions.}
-\item{globals}{Like \code{variables},
- but these variables will be defined globally. If \code{variables} is set as well,
+\item{globals}{Like \code{variables}, but these variables will be defined globally. If \code{variables} is set as well,
the function tries to remove duplicate definitions.}
\item{results.header}{A character string to headline the printed results. Include escapes quotes (\\") if needed.
@@ -29,18 +28,14 @@
pasted as-is, after \code{variables} has been evaluated.}
\item{printout}{A character string to be included in the \code{printout()} function. This string will be
-pasted as-is,
- after \code{results.header} has been evaluated. Ignored if \code{doPrintout} is set.}
+pasted as-is, after \code{results.header} has been evaluated. Ignored if \code{doPrintout} is set.}
\item{doPrintout}{A character string to be included in the \code{doPrintout()} function. This string will be
-pasted as-is. You don't need to define a \code{preview()} function,
- as this will be added automatically.
+pasted as-is. You don't need to define a \code{preview()} function, as this will be added automatically.
Use \code{ite("full", ...)} style JavaScript code to include headers etc.}
-\item{load.silencer}{Either a character string (ID of probably a checkbox),
- or an object of class \code{XiMpLe.node}.
-This defines a switch you can add to your plugin,
- to set the \code{require()} call inside \code{suppressMessages()},
+\item{load.silencer}{Either a character string (ID of probably a checkbox), or an object of class \code{XiMpLe.node}.
+This defines a switch you can add to your plugin, to set the \code{require()} call inside \code{suppressMessages()},
hence suppressing all load messages (except for warnings and errors) of required packages in the output.}
\item{gen.info}{Logical, if \code{TRUE} a comment note will be written into the document,
Modified: trunk/rkward/packages/rkwarddev/man/rk.JS.options.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.JS.options.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.JS.options.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -10,14 +10,11 @@
\item{var}{Character string, name of the JavaScript variable to use in the script code.}
\item{...}{A list of objects of class \code{rk.JS.ite} (see \code{\link[rkwarddev:ite]{ite}}).
-Use the \code{thenjs} element to define only the value to add to the option,
- without commas
+Use the \code{thenjs} element to define only the value to add to the option, without commas
(e.g., \code{"paired=TRUE"} or \code{qp("conf.level=\"", conflevel, "\"")}.}
-\item{collapse}{Character string,
- how all options should be concatenated on the R code level
-(if \code{array=FALSE}),
- or how \code{option} should be added to the generated R code. Hint:
+\item{collapse}{Character string, how all options should be concatenated on the R code level
+(if \code{array=FALSE}), or how \code{option} should be added to the generated R code. Hint:
To place each option in a new line with tab indentation, set \code{collapse=",\\n\\t"}.}
\item{option}{A character string, naming, e.g., an option of an R function which should be
@@ -27,8 +24,7 @@
e.g. "list" for \code{list()}, or "c" for \code{c()}. Set to \code{NULL} to drop.
Only used if \code{array=TRUE}.}
-\item{array}{Logical, if \code{TRUE} will generate the options as an array,
- otherwise in one
+\item{array}{Logical, if \code{TRUE} will generate the options as an array, otherwise in one
concatenated character string (probably only useful for mandatory options).}
}
\value{
Modified: trunk/rkward/packages/rkwarddev/man/rk.JS.optionset.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.JS.optionset.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.JS.optionset.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -9,36 +9,29 @@
\arguments{
\item{optionset}{A XiMpLe.node object, the full \code{<optionset>} node.}
-\item{...}{The JavaScript code,
- optionally including the optioncolumn objects. This will become
+\item{...}{The JavaScript code, optionally including the optioncolumn objects. This will become
the body of the for loop.}
\item{loopvar}{Character, name of the index variable used in the for loop.}
-\item{collapse}{Character string,
- how all optioncolumns should be concatenated on the R code level
-Hint: To place each one on a new line with tab indentation, set \code{collapse=",
- \\n\\t"}.}
+\item{collapse}{Character string, how all optioncolumns should be concatenated on the R code level
+Hint: To place each one on a new line with tab indentation, set \code{collapse=",\\n\\t"}.}
-\item{vars}{Logical,
- if \code{TRUE} all optioncolumn varaibles will be defined first. This is not
+\item{vars}{Logical, if \code{TRUE} all optioncolumn varaibles will be defined first. This is not
needed if \code{\link[rkwarddev:rk.JS.scan]{rk.JS.scan}} was already called.}
-\item{guess.getter}{Logical,
- if \code{TRUE} try to get a good default getter function for JavaScript
+\item{guess.getter}{Logical, if \code{TRUE} try to get a good default getter function for JavaScript
variable values. Only relevant if \code{vars=TRUE}.}
}
\description{
This function scans an object generated by \code{\link[rkwarddev:rk.XML.optionset]{rk.XML.optionset}},
extract IDs of all optioncolumn objects and nest the JavaScript code you define via \code{...} inside
-a for loop that iterates through all columns. Inside \code{...},
- you can use the column objects of
+a for loop that iterates through all columns. Inside \code{...}, you can use the column objects of
\code{\link[rkwarddev:rk.XML.optioncolumn]{rk.XML.optioncolumn}} to refer to the respective column,
\code{rk.JS.optionset} will use appropriate variables.
}
\details{
-In case you simply want to define the variables, but not run the loop yet,
- set \code{vars=TRUE} and
+In case you simply want to define the variables, but not run the loop yet, set \code{vars=TRUE} and
leave \code{...} empty.
}
\examples{
@@ -54,8 +47,7 @@
)
)), label="Depends on R packages"),
optioncolumn=list(
- dep.optioncol.pckg.name <- rk.XML.optioncolumn(connect=dep.pckg.name,
- modifier="text"),
+ dep.optioncol.pckg.name <- rk.XML.optioncolumn(connect=dep.pckg.name, modifier="text"),
dep.optioncol.pckg.min <- rk.XML.optioncolumn(connect=dep.pckg.min, modifier="text"),
dep.optioncol.pckg.max <- rk.XML.optioncolumn(connect=dep.pckg.max, modifier="text"),
dep.optioncol.pckg.repo <- rk.XML.optioncolumn(connect=dep.pckg.repo, modifier="text")
Modified: trunk/rkward/packages/rkwarddev/man/rk.JS.saveobj.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.JS.saveobj.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.JS.saveobj.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -7,20 +7,15 @@
add.abbrev = FALSE, indent.by = "\\t")
}
\arguments{
-\item{pXML}{Either an object of class \code{XiMpLe.doc} or \code{XiMpLe.node},
- or path to a plugin XML file.}
+\item{pXML}{Either an object of class \code{XiMpLe.doc} or \code{XiMpLe.node}, or path to a plugin XML file.}
-\item{R.objects}{Character vector,
- the names of the internal R objects to be saved. If not empty must have
-the same length as <saveobject> nodes in the document, or be the keyword "initial",
- in which case the
+\item{R.objects}{Character vector, the names of the internal R objects to be saved. If not empty must have
+the same length as <saveobject> nodes in the document, or be the keyword "initial", in which case the
\code{intital} attribute values of the nodes are used.}
-\item{vars}{Logocal,
- whether the variables needed should also be defined in the JavaScript code.}
+\item{vars}{Logocal, whether the variables needed should also be defined in the JavaScript code.}
-\item{add.abbrev}{Logical,
- if \code{TRUE} the JavaScript variables will all have a prefix with an
+\item{add.abbrev}{Logical, if \code{TRUE} the JavaScript variables will all have a prefix with an
three letter abbreviation of the XML tag type to improve the readability of the code. But it's
probably better to add this in the XML code in the first place.}
Modified: trunk/rkward/packages/rkwarddev/man/rk.JS.scan.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.JS.scan.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.JS.scan.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -7,24 +7,18 @@
indent.by = "\\t")
}
\arguments{
-\item{pXML}{Either an object of class \code{XiMpLe.doc} or \code{XiMpLe.node},
- or path to a plugin XML file.}
+\item{pXML}{Either an object of class \code{XiMpLe.doc} or \code{XiMpLe.node}, or path to a plugin XML file.}
-\item{js}{Logical, if \code{TRUE} usable JavaScript code will be returned,
- otherwise a character
+\item{js}{Logical, if \code{TRUE} usable JavaScript code will be returned, otherwise a character
vector with only the relevant ID names.}
-\item{add.abbrev}{Logical,
- if \code{TRUE} the JavaScript variables will all have a prefix with an
+\item{add.abbrev}{Logical, if \code{TRUE} the JavaScript variables will all have a prefix with an
three letter abbreviation of the XML tag type to improve the readability of the code. But it's
probably better to add this in the XML code in the first place.}
-\item{guess.getter}{Logical,
- if \code{TRUE} try to get a good default getter function for JavaScript
-variable values. This will use some functions which were added with RKWard 0.6.1,
- and therefore
-raise the dependencies for your plugin/component accordingly. Nonetheless,
- it's recommended.}
+\item{guess.getter}{Logical, if \code{TRUE} try to get a good default getter function for JavaScript
+variable values. This will use some functions which were added with RKWard 0.6.1, and therefore
+raise the dependencies for your plugin/component accordingly. Nonetheless, it's recommended.}
\item{indent.by}{Character string used to indent each entry if \code{js=TRUE}.}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.JS.vars.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.JS.vars.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.JS.vars.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -15,29 +15,21 @@
\item{modifiers}{A character vector with modifiers you'd like to apply to the XML node property.}
-\item{default}{Logical,
- if \code{TRUE} the default value (no special modifier) of the node will
+\item{default}{Logical, if \code{TRUE} the default value (no special modifier) of the node will
also be defined. Does nothing if \code{modifiers=NULL}.}
-\item{join}{A character string,
- useful for GUI elements which accept multiple objects (e.g., multi-varslots).
-If \code{join} is something other than \code{""},
- these objects will be collapsed into one string when pasted,
+\item{join}{A character string, useful for GUI elements which accept multiple objects (e.g., multi-varslots).
+If \code{join} is something other than \code{""}, these objects will be collapsed into one string when pasted,
joined by this string.}
-\item{check.modifiers}{Logical,
- if \code{TRUE} the given modifiers will be checked for validity. Should only be
+\item{check.modifiers}{Logical, if \code{TRUE} the given modifiers will be checked for validity. Should only be
turned off if you know what you're doing.}
-\item{getter}{A character string,
- naming the JavaScript function which should be used to get the values in the
-actual plugin. Depending on the XML element, \code{"getString"},
- \code{"getBool"} or \code{"getList"} can be
-useful alternatives. For backwards compatibility,
- the default is set to \code{"getValue"}.}
+\item{getter}{A character string, naming the JavaScript function which should be used to get the values in the
+actual plugin. Depending on the XML element, \code{"getString"}, \code{"getBool"} or \code{"getList"} can be
+useful alternatives. For backwards compatibility, the default is set to \code{"getValue"}.}
-\item{guess.getter}{Logical,
- if \code{TRUE} try to get a good default getter function for JavaScript
+\item{guess.getter}{Logical, if \code{TRUE} try to get a good default getter function for JavaScript
variable values.}
}
\value{
@@ -47,8 +39,7 @@
Define variables in JavaScript code
}
\note{
-To get a list of the implemented modifiers in this package,
- call \code{rkwarddev:::all.valid.modifiers}.
+To get a list of the implemented modifiers in this package, call \code{rkwarddev:::all.valid.modifiers}.
}
\examples{
# create three checkboxes
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.about.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.about.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.about.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -16,11 +16,9 @@
\item{given}{Author given name}
\item{family}{Author family name}
\item{email}{Author mail address (can be omitted if \code{role} does not include \code{"cre"})}
- \item{role}{This person's specific role, e.g. \code{"aut"} for actual author,
- \code{"cre"} for maintainer or \code{"ctb"} for contributor.}
+ \item{role}{This person's specific role, e.g. \code{"aut"} for actual author, \code{"cre"} for maintainer or \code{"ctb"} for contributor.}
}
-See \code{\link[utils:person]{person}} for more details on this,
- especially for valid roles.}
+See \code{\link[utils:person]{person}} for more details on this, especially for valid roles.}
\item{about}{A named list with these elements:
\describe{
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.browser.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.browser.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.browser.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -10,32 +10,25 @@
\arguments{
\item{label}{Character string, a text label for this plugin element.}
-\item{type}{Character string, valid values are "dir", "file" and "savefile" (i.e.,
- an non-existing file).}
+\item{type}{Character string, valid values are "dir", "file" and "savefile" (i.e., an non-existing file).}
-\item{initial}{Character string,
- if not \code{NULL} will be used as the initial value of the browser.}
+\item{initial}{Character string, if not \code{NULL} will be used as the initial value of the browser.}
\item{urls}{Logical, whether non-local URLs are permitted or not.}
-\item{filter}{Character vector, file type filter, e.g. \code{filter=c("*.txt",
- "*.csv")} for .txt and .csv files.
+\item{filter}{Character vector, file type filter, e.g. \code{filter=c("*.txt", "*.csv")} for .txt and .csv files.
Try not to induce limits unless absolutely needed, though.}
\item{required}{Logical, whether an entry is mandatory or not.}
\item{id.name}{Character string, a unique ID for this plugin element.
-If \code{"auto"} and a label was provided,
- an ID will be generated automatically from the label.}
+If \code{"auto"} and a label was provided, an ID will be generated automatically from the label.}
-\item{help}{Character string,
- will be used as the \code{text} value for a setting node in the .rkh file.
-If set to \code{FALSE},
- \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
+\item{help}{Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
+If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
Also needs \code{component} to be set accordingly!}
-\item{component}{Character string,
- name of the component this node belongs to. Only needed if you
+\item{component}{Character string, name of the component this node belongs to. Only needed if you
want to use the scan features for automatic help file generation; needs \code{help} to be set
accordingly, too!}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.cbox.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.cbox.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.cbox.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -19,14 +19,11 @@
\item{id.name}{Character string, a unique ID for this plugin element.
If \code{"auto"}, an ID will be generated automatically from the label.}
-\item{help}{Character string,
- will be used as the \code{text} value for a setting node in the .rkh file.
-If set to \code{FALSE},
- \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
+\item{help}{Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
+If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
Also needs \code{component} to be set accordingly!}
-\item{component}{Character string,
- name of the component this node belongs to. Only needed if you
+\item{component}{Character string, name of the component this node belongs to. Only needed if you
want to use the scan features for automatic help file generation; needs \code{help} to be set
accordingly, too!}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.component.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.component.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.component.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -14,8 +14,7 @@
\item{id.name}{Character string, a unique ID for this plugin element.
If \code{"auto"}, an ID will be generated automatically from the label.}
-\item{type}{Character string, type of component. As of now,
- only "standard" is supported. The option is
+\item{type}{Character string, type of component. As of now, only "standard" is supported. The option is
just implemented for completeness.}
\item{dependencies}{An object of class \code{XiMpLe.node} to define \code{<dependencies>} for this component.
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.components.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.components.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.components.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -12,8 +12,7 @@
A list of objects of class \code{XiMpLe.node}.
}
\description{
-This function will create a components node for a .pluginmap file,
- with mandatory child nodes "component".
+This function will create a components node for a .pluginmap file, with mandatory child nodes "component".
}
\examples{
test.component <- rk.XML.component("My GUI dialog", "plugins/MyGUIdialog.xml")
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.connect.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.connect.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.connect.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -8,27 +8,21 @@
}
\arguments{
\item{governor}{Either a character string (the \code{id} of the property whose state should control
-the \code{client}),
- or an object of class \code{XiMpLe.node} (whose \code{id} will be extracted
+the \code{client}), or an object of class \code{XiMpLe.node} (whose \code{id} will be extracted
and used). Usually a \code{<convert>} node defined earlier (see
\code{\link[rkwarddev:rk.XML.convert]{rk.XML.convert}}).}
-\item{client}{Character string,
- the \code{id} if the element to be controlled by \code{governor}.}
+\item{client}{Character string, the \code{id} if the element to be controlled by \code{governor}.}
-\item{get}{Character string, a valid modifier for the node property of \code{governor},
- often
+\item{get}{Character string, a valid modifier for the node property of \code{governor}, often
the ".state" value of some apropriate node.}
-\item{set}{Character string, a valid modifier for the node property of \code{client},
- usually
+\item{set}{Character string, a valid modifier for the node property of \code{client}, usually
one of \code{"enabled"}, \code{"visible"} or \code{"required"}.}
-\item{not}{Logical, if \code{TRUE},
- the state of \code{governor} (\code{TRUE/FALSE}) will be inversed.}
+\item{not}{Logical, if \code{TRUE}, the state of \code{governor} (\code{TRUE/FALSE}) will be inversed.}
-\item{reconcile}{Logical,
- forces the \code{governor} to only accept values which are valid for
+\item{reconcile}{Logical, forces the \code{governor} to only accept values which are valid for
the \code{client} as well.}
}
\value{
@@ -39,8 +33,7 @@
and \code{not=FALSE}, the function will automatically append to its \code{id}.
}
\note{
-To get a list of the implemented modifiers in this package,
- call \code{rkwarddev:::all.valid.modifiers}.
+To get a list of the implemented modifiers in this package, call \code{rkwarddev:::all.valid.modifiers}.
}
\examples{
test.connect <- rk.XML.connect(governor="lgc_foobar", client="frame_bar")
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.convert.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.convert.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.convert.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -9,8 +9,7 @@
\item{sources}{A list with at least one value, either resembling the \code{id} of
an existing element to be queried as a character string, or a previously defined object
of class \code{XiMpLe.node} (whose \code{id} will be extracted and used). If you want
-to examine e.g. the state or string value specificly, just name the value accoringly,
- e.g.,
+to examine e.g. the state or string value specificly, just name the value accoringly, e.g.,
\code{sources=list("vars0", string="input1", state="chkbx2")}.}
\item{mode}{A named vector with either exactly one of the following elements:
@@ -28,8 +27,7 @@
\item{\code{max}}{True if \code{sources} is below this value. They must be numeric.}
}}
-\item{required}{Logical,
- sets the state of the \code{required_true} attribute. If \code{TRUE},
+\item{required}{Logical, sets the state of the \code{required_true} attribute. If \code{TRUE},
the plugin submit button is only enabled if this property is true.}
\item{id.name}{Character string, a unique ID for this plugin element.
@@ -40,12 +38,10 @@
An object of class \code{XiMpLe.node}.
}
\description{
-If \code{sources} holds \code{XiMpLe.node} objects,
- the validity of modifiers is automatically checked for that tag.
+If \code{sources} holds \code{XiMpLe.node} objects, the validity of modifiers is automatically checked for that tag.
}
\note{
-To get a list of the implemented modifiers for \code{sources} in this package,
- call \code{rkwarddev:::all.valid.modifiers}.
+To get a list of the implemented modifiers for \code{sources} in this package, call \code{rkwarddev:::all.valid.modifiers}.
}
\examples{
test.convert <- rk.XML.convert(list(string="foo"), mode=c(notequals="bar"))
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.copy.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.copy.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.copy.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -9,8 +9,7 @@
\item{id}{Either a character string (the \code{id} of the property to be copied),
or an object of class \code{XiMpLe.node} (whose \code{id} will be extracted and used).}
-\item{as}{A character string resembling the \code{copy_element_tag_name} value. I.e.,
- must be
+\item{as}{A character string resembling the \code{copy_element_tag_name} value. I.e., must be
a valid tag name. Will cause a change of tag name of the \code{id} (e.g. "tab") to \code{as}
(e.g. "page").}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.dependencies.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.dependencies.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.dependencies.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -29,15 +29,13 @@
\item{url}{URL to get the pluginmap (optional)}
}}
-\item{hints}{Logical, if \code{TRUE},
- \code{NULL} values will be replaced with example text.}
+\item{hints}{Logical, if \code{TRUE}, \code{NULL} values will be replaced with example text.}
}
\description{
Create XML node "dependencies" for RKWard pluginmaps
}
\note{
-The \code{<dependencies>} node was introduced with RKWard 0.6.1,
- please set the dependencies
+The \code{<dependencies>} node was introduced with RKWard 0.6.1, please set the dependencies
of your component/plugin accordingly.
}
\examples{
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.dependency_check.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.dependency_check.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.dependency_check.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -31,15 +31,13 @@
\item{url}{URL to get the pluginmap (optional)}
}}
-\item{hints}{Logical, if \code{TRUE},
- \code{NULL} values will be replaced with example text.}
+\item{hints}{Logical, if \code{TRUE}, \code{NULL} values will be replaced with example text.}
}
\description{
Create XML node "dependency_check" for RKWard pluginmaps
}
\note{
-The \code{<dependency_check>} node was introduced with RKWard 0.6.1,
- please set the dependencies
+The \code{<dependency_check>} node was introduced with RKWard 0.6.1, please set the dependencies
of your component/plugin accordingly.
}
\examples{
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.dialog.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.dialog.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.dialog.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -10,21 +10,17 @@
\item{label}{Character string, a text label for this plugin element.}
-\item{recommended}{Logical,
- whether the dialog should be the recommended interface (unless the user has configured
-RKWard to default to a specific interface). This attribute currently has no effect,
- as it is implicitly "true",
+\item{recommended}{Logical, whether the dialog should be the recommended interface (unless the user has configured
+RKWard to default to a specific interface). This attribute currently has no effect, as it is implicitly "true",
unless the wizard is recommended.}
}
\value{
An object of class \code{XiMpLe.node}.
}
\description{
-This function will create a dialog section with optional child nodes "browser",
- "checkbox",
+This function will create a dialog section with optional child nodes "browser", "checkbox",
"column", "copy", "dropdown", "embed", "formula", "frame", "include", "input", "insert",
-"preview", "radio", "row", "saveobject", "select", "spinbox", "stretch", "tabbook",
- "text",
+"preview", "radio", "row", "saveobject", "select", "spinbox", "stretch", "tabbook", "text",
"valueselector", "valueslot", "varselector" and "varslot".
}
\examples{
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.dropdown.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.dropdown.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.dropdown.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -10,23 +10,18 @@
\item{label}{Character string, a text label for this plugin element.}
\item{options}{A named list with options to choose from. The names of the list elements will become
-labels of the options, \code{val} defines the value to submit if the option is checked,
- and
+labels of the options, \code{val} defines the value to submit if the option is checked, and
\code{chk=TRUE} should be set in the one option which is checked by default. Objects generated with
\code{\link[rkwarddev:rk.XML.option]{rk.XML.option}} are accepted as well.}
\item{id.name}{Character string, a unique ID for this plugin element.
-If \code{"auto"} and a label was provided,
- an ID will be generated automatically from the label.}
+If \code{"auto"} and a label was provided, an ID will be generated automatically from the label.}
-\item{help}{Character string,
- will be used as the \code{text} value for a setting node in the .rkh file.
-If set to \code{FALSE},
- \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
+\item{help}{Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
+If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
Also needs \code{component} to be set accordingly!}
-\item{component}{Character string,
- name of the component this node belongs to. Only needed if you
+\item{component}{Character string, name of the component this node belongs to. Only needed if you
want to use the scan features for automatic help file generation; needs \code{help} to be set
accordingly, too!}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.embed.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.embed.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.embed.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -7,18 +7,14 @@
id.name = "auto")
}
\arguments{
-\item{component}{A character string,
- registered name (\code{id} in pluginmap file) of the component to be embedded.}
+\item{component}{A character string, registered name (\code{id} in pluginmap file) of the component to be embedded.}
-\item{button}{Logical,
- whether the plugin should be embedded as a button and appear if it's pressed.}
+\item{button}{Logical, whether the plugin should be embedded as a button and appear if it's pressed.}
-\item{label}{A character string,
- text label for the button (only used if \code{button=TRUE}).}
+\item{label}{A character string, text label for the button (only used if \code{button=TRUE}).}
\item{id.name}{Character string, a unique ID for this plugin element.
-If \code{"auto"},
- an ID will be generated automatically from the label and component strings.}
+If \code{"auto"}, an ID will be generated automatically from the label and component strings.}
}
\value{
An object of class \code{XiMpLe.node}.
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.formula.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.formula.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.formula.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -11,8 +11,7 @@
\item{dependent}{The \code{id} of the varslot holding the selected dependent variable.}
\item{id.name}{Character string, a unique ID for this plugin element.
-If \code{"auto"},
- an ID will be generated automatically from the \code{fixed} and \code{dependent} value.}
+If \code{"auto"}, an ID will be generated automatically from the \code{fixed} and \code{dependent} value.}
}
\value{
An object of class \code{XiMpLe.node}.
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.frame.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.frame.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.frame.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -13,12 +13,10 @@
\item{checkable}{Logical, if \code{TRUE} the frame can be switched on and off.}
-\item{chk}{Logical,
- if \code{TRUE} and \code{checkable=TRUE} the frame is checkable and active by default.}
+\item{chk}{Logical, if \code{TRUE} and \code{checkable=TRUE} the frame is checkable and active by default.}
\item{id.name}{Character string, a unique ID for this plugin element.
-If \code{"auto"} and a label was provided,
- an ID will be generated automatically from the label
+If \code{"auto"} and a label was provided, an ID will be generated automatically from the label
if presen, otherwise from the objects in the frame.
If \code{NULL}, no ID will be given.}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.input.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.input.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.input.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -9,8 +9,7 @@
\arguments{
\item{label}{Character string, a text label for this plugin element.}
-\item{initial}{Character string,
- if not \code{NULL} will be used as the initial value of the input field.}
+\item{initial}{Character string, if not \code{NULL} will be used as the initial value of the input field.}
\item{size}{One value of either "small", "medium" or "large".}
@@ -19,14 +18,11 @@
\item{id.name}{Character string, a unique ID for this plugin element.
If \code{"auto"}, an ID will be generated automatically from the label.}
-\item{help}{Character string,
- will be used as the \code{text} value for a setting node in the .rkh file.
-If set to \code{FALSE},
- \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
+\item{help}{Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
+If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
Also needs \code{component} to be set accordingly!}
-\item{component}{Character string,
- name of the component this node belongs to. Only needed if you
+\item{component}{Character string, name of the component this node belongs to. Only needed if you
want to use the scan features for automatic help file generation; needs \code{help} to be set
accordingly, too!}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.logic.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.logic.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.logic.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -12,10 +12,8 @@
An object of class \code{XiMpLe.node}.
}
\description{
-This function will create a logic section with "convert", "connect", "include", "insert",
- "external" and "set" nodes.
-You can also include JavaScript code to use the locig scripting features of RKWard,
- if you place it in a comment
+This function will create a logic section with "convert", "connect", "include", "insert", "external" and "set" nodes.
+You can also include JavaScript code to use the locig scripting features of RKWard, if you place it in a comment
with \code{\link[rkwarddev:rk.comment]{rk.comment}}: Its contents will automatically be placed inside a
\code{<script><![CDATA[ ]]></script>} node.
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.matrix.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.matrix.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.matrix.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -12,8 +12,7 @@
\arguments{
\item{label}{Character string, a label for the matrix.}
-\item{mode}{Character string, one of "integer",
- "real" or "string". The type of data that will
+\item{mode}{Character string, one of "integer", "real" or "string". The type of data that will
be accepted in the table (required)}
\item{rows}{Number of rows in the matrix. Has no effect if \code{allow_user_resize_rows=TRUE}.}
@@ -29,21 +28,17 @@
\item{allow_missings}{Logical, whether missing (empty) values are allowed in the matrix
(if \code{type} is "string").}
-\item{allow_user_resize_columns}{Logical, if \code{TRUE},
- the user can add columns by typing
+\item{allow_user_resize_columns}{Logical, if \code{TRUE}, the user can add columns by typing
on the rightmost (inactive) cells.}
-\item{allow_user_resize_rows}{Logical, if \code{TRUE},
- the user can add rows by typing on the
+\item{allow_user_resize_rows}{Logical, if \code{TRUE}, the user can add rows by typing on the
bottommost (inactive) cells.}
-\item{fixed_width}{Logical,
- force the GUI element to stay at its initial width. Do not use in
+\item{fixed_width}{Logical, force the GUI element to stay at its initial width. Do not use in
combindation with matrices, where the number of columns may change in any way.
Useful, esp. when creating a vector input element (rows="1").}
-\item{fixed_height}{Logical,
- force the GUI element to stay at its initial height. Do not use in
+\item{fixed_height}{Logical, force the GUI element to stay at its initial height. Do not use in
combindation with matrices, where the number of rows may change in any way.
Useful, esp. when creating a vector input element (columns="1").}
@@ -54,14 +49,11 @@
\item{id.name}{Character string, a unique ID for this plugin element.
If \code{"auto"}, an ID will be generated automatically from the label.}
-\item{help}{Character string,
- will be used as the \code{text} value for a setting node in the .rkh file.
-If set to \code{FALSE},
- \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
+\item{help}{Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
+If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
Also needs \code{component} to be set accordingly!}
-\item{component}{Character string,
- name of the component this node belongs to. Only needed if you
+\item{component}{Character string, name of the component this node belongs to. Only needed if you
want to use the scan features for automatic help file generation; needs \code{help} to be set
accordingly, too!}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.menu.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.menu.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.menu.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -13,13 +13,11 @@
with the last element being the \code{component} value for \code{\link[rkwarddev:rk.XML.entry]{rk.XML.entry}}.}
\item{index}{Integer number to influence the level of menu placement. If \code{...} is a list,
-\code{index} can also be a vector of the same length + 1,
- so indices will be set in the same order to the
+\code{index} can also be a vector of the same length + 1, so indices will be set in the same order to the
menu levels, the last value is for the entry.}
\item{id.name}{Character, a unique ID for this plugin element.
-If \code{"auto"}, an ID will be generated automatically from the label. Otherwise,
- if \code{...} is a list,
+If \code{"auto"}, an ID will be generated automatically from the label. Otherwise, if \code{...} is a list,
\code{id.name} must have the same length and will be set in the same order to the menu levels.
Used to place the menu in the global menu hierarchy.}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.option.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.option.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.option.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -10,12 +10,10 @@
\item{val}{Character string, defines the value to submit if the option is checked.}
-\item{chk}{Logical,
- should be set \code{TRUE} in the one option which is checked by default.}
+\item{chk}{Logical, should be set \code{TRUE} in the one option which is checked by default.}
\item{id.name}{Character string, a unique ID for this plugin element.
-If \code{"auto"} and a label was provided,
- an ID will be generated automatically from the label.}
+If \code{"auto"} and a label was provided, an ID will be generated automatically from the label.}
}
\value{
An object of class \code{XiMpLe.node}.
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.optioncolumn.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.optioncolumn.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.optioncolumn.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -4,45 +4,25 @@
\title{Create XML node "optioncolumn" for RKWard plugins}
\usage{
rk.XML.optioncolumn(connect, modifier = NULL, label = TRUE,
- external = FALSE, default = NULL, id.name = "auto", help = NULL,
- component = rk.get.comp())
+ external = FALSE, default = NULL, id.name = "auto")
}
\arguments{
-\item{connect}{Either a character string (the \code{id} of the property to connect this optioncolumn to),
- or an object of
-class XiMpLe.node (whose \code{id} will be extracted and used). For external \code{<optioncolumn>}s,
- the corresponding value will
-be set to the externally set value. For regular (non-external) \code{<optioncolumn>}s,
- the corresponding row of the \code{<optioncolumn>} property, will be set
+\item{connect}{Either a character string (the \code{id} of the property to connect this optioncolumn to), or an object of
+class XiMpLe.node (whose \code{id} will be extracted and used). For external \code{<optioncolumn>}s, the corresponding value will
+be set to the externally set value. For regular (non-external) \code{<optioncolumn>}s, the corresponding row of the \code{<optioncolumn>} property, will be set
when the property changes inside the content-area.}
-\item{modifier}{Character string, the modifier of the property to connect to,
- will be appended to the \code{id} of \code{connect}.}
+\item{modifier}{Character string, the modifier of the property to connect to, will be appended to the \code{id} of \code{connect}.}
-\item{label}{Either logical or a character string. If given,
- the optioncolumn will be displayed in the \code{<optiondisplay>} in a column by that label.
-If set to \code{TRUE} and you provide a XiMpLe node object to \code{connect},
- the label will be extracted from that node.}
+\item{label}{Either logical or a character string. If given, the optioncolumn will be displayed in the \code{<optiondisplay>} in a column by that label.
+If set to \code{TRUE} and you provide a XiMpLe node object to \code{connect}, the label will be extracted from that node.}
-\item{external}{Logical,
- set to \code{TRUE} if the optioncolumn is controlled from outside the optionset.}
+\item{external}{Logical, set to \code{TRUE} if the optioncolumn is controlled from outside the optionset.}
-\item{default}{Character string,
- only for external columns: The value to assume for this column, if no value is known for an entry. Rarely useful.}
+\item{default}{Character string, only for external columns: The value to assume for this column, if no value is known for an entry. Rarely useful.}
\item{id.name}{Character string, a unique ID for this plugin element.
If \code{"auto"}, an ID will be generated automatically from the \code{connect} object.}
-
-\item{help}{Character string,
- will be used as the \code{text} value for a setting node in the .rkh file.
-If set to \code{FALSE},
- \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
-Also needs \code{component} to be set accordingly!}
-
-\item{component}{Character string,
- name of the component this node belongs to. Only needed if you
-want to use the scan features for automatic help file generation; needs \code{help} to be set
-accordingly, too!}
}
\value{
An object of class \code{XiMpLe.node}.
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.optionset.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.optionset.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.optionset.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -12,28 +12,22 @@
\item{optioncolumn}{A list of \code{<optioncolumn>} XiMpLe.nodes.}
-\item{min_rows}{Numeric (integer), if specified, the set will be marked invalid,
- unless it has
+\item{min_rows}{Numeric (integer), if specified, the set will be marked invalid, unless it has
at least this number of rows. Ignored if set to 0.}
-\item{min_rows_if_any}{Numeric (integer), like min_rows, but will only be tested,
- if there is at
+\item{min_rows_if_any}{Numeric (integer), like min_rows, but will only be tested, if there is at
least one row. Ignored if set to 0.}
-\item{max_rows}{Numeric (integer), if specified, the set will be marked invalid,
- unless it has
+\item{max_rows}{Numeric (integer), if specified, the set will be marked invalid, unless it has
at most this number of rows. Ignored if set to 0.}
\item{keycolumn}{Character}
\item{logic}{A valid \code{<logic>} node.}
-\item{optiondisplay}{Logical value,
- can be used to automatically add an \code{<optiondisplay>} node on top
-of the \code{<content>} section. Depending on whether it's \code{TRUE} or \code{FALSE},
- its \code{index}
-argument will be set to \code{"true"} or \code{"false"},
- respectively. Set to \code{NULL} to deactivate.}
+\item{optiondisplay}{Logical value, can be used to automatically add an \code{<optiondisplay>} node on top
+of the \code{<content>} section. Depending on whether it's \code{TRUE} or \code{FALSE}, its \code{index}
+argument will be set to \code{"true"} or \code{"false"}, respectively. Set to \code{NULL} to deactivate.}
\item{id.name}{Character string, a unique ID for this plugin element.
If \code{"auto"}, an ID will be generated automatically from the <content> nodes.}
@@ -45,16 +39,13 @@
Note that if you want to refer to the optioncolumns in your JavaScript code, the \code{id}
you need is a combination of \code{<optionset id>.<optioncolumn id>.<modifier>}. that is,
you must always prefix it with the sets' \code{id}. For JavaScript code generating with
-\code{rkwarddev},
- the easiest way to get to results is to use \code{\link[rkwarddev:rk.JS.optionset]{rk.JS.optionset}}.
+\code{rkwarddev}, the easiest way to get to results is to use \code{\link[rkwarddev:rk.JS.optionset]{rk.JS.optionset}}.
It will automatically place your code fragments into a for loop and iterate through all available
rows of the set.
}
\details{
-If this isn't flexible enough for your needs,
- you can also use the ID that functions like \code{\link[rkwarddev:id]{id}}
-return,
- because the JavaScript variable name will only contain a constant prefix ("ocol") and the column ID.
+If this isn't flexible enough for your needs, you can also use the ID that functions like \code{\link[rkwarddev:id]{id}}
+return, because the JavaScript variable name will only contain a constant prefix ("ocol") and the column ID.
}
\note{
The \code{<optionset>} node was introduced with RKWard 0.6.1, please set the dependencies
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.page.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.page.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.page.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -16,12 +16,9 @@
An object of class \code{XiMpLe.node}.
}
\description{
-This function will create a page node for wizard sections,
- with optional child nodes "browser", "checkbox",
-"column", "copy", "dropdown", "formula", "frame", "input", "page", "radio", "row",
- "saveobject",
-"select", "spinbox", "stretch", "tabbook", "text", "valueselector", "valueslot",
- "varselector" and "varslot".
+This function will create a page node for wizard sections, with optional child nodes "browser", "checkbox",
+"column", "copy", "dropdown", "formula", "frame", "input", "page", "radio", "row", "saveobject",
+"select", "spinbox", "stretch", "tabbook", "text", "valueselector", "valueslot", "varselector" and "varslot".
}
\examples{
# define a checkbox for the actual dialog
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.plugin.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.plugin.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.plugin.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -9,8 +9,7 @@
gen.info = TRUE, lang = rk.get.language())
}
\arguments{
-\item{name}{Character string,
- the name of the plugin. Will be used for the names of the JavaScript and
+\item{name}{Character string, the name of the plugin. Will be used for the names of the JavaScript and
help files to be included, following the scheme \emph{"<name>.<ext>"}.}
\item{dialog}{An object of class \code{XiMpLe.node} to be pasted as the \code{<dialog>} section. See
@@ -25,24 +24,18 @@
\item{snippets}{An object of class \code{XiMpLe.node} to be pasted as the \code{<snippets>} section. See
\code{\link[rkwarddev:rk.XML.snippets]{rk.XML.snippets}} for details.}
-\item{provides}{Character vector with possible entries of \code{"logic"},
- \code{"dialog"} or \code{"wizard"}, defining what
-sections the document should provide even if \code{dialog},
- \code{wizard} and \code{logic} are \code{NULL}.
+\item{provides}{Character vector with possible entries of \code{"logic"}, \code{"dialog"} or \code{"wizard"}, defining what
+sections the document should provide even if \code{dialog}, \code{wizard} and \code{logic} are \code{NULL}.
These sections must be edited manually and some parts are therefore commented out.}
-\item{help}{Logical,
- if \code{TRUE} an include tag for a help file named \emph{"<name>.rkh"} will be added to the header.}
+\item{help}{Logical, if \code{TRUE} an include tag for a help file named \emph{"<name>.rkh"} will be added to the header.}
-\item{include}{Character string or vector, relative path(s) to other file(s),
- which will then be included in the head of the GUI XML document.}
+\item{include}{Character string or vector, relative path(s) to other file(s), which will then be included in the head of the GUI XML document.}
-\item{label}{Character string, a text label for the plugin's top level,
- i.e. the window title of the dialog.
+\item{label}{Character string, a text label for the plugin's top level, i.e. the window title of the dialog.
Will only be used if \code{dialog} or \code{wizard} are \code{NULL}.}
-\item{clean.name}{Logical, if \code{TRUE},
- all non-alphanumeric characters except the underscore (\code{"_"}) will be removed from \code{name}.}
+\item{clean.name}{Logical, if \code{TRUE}, all non-alphanumeric characters except the underscore (\code{"_"}) will be removed from \code{name}.}
\item{about}{An object of class \code{XiMpLe.node} with descriptive information on the plugin and its authors,
see \code{link[XiMpLe:rk.XML.about]{rk.XML.about}} for details. Only useful for information that differs from the \code{<about>}
@@ -54,8 +47,7 @@
\item{gen.info}{Logical, if \code{TRUE} a comment note will be written into the document,
that it was generated by \code{rkwarddev} and changes should be done to the script.}
-\item{lang}{Character string,
- the language of the plugin. See \code{\link[rkwarddev:i18n]{i18n}} for details.}
+\item{lang}{Character string, the language of the plugin. See \code{\link[rkwarddev:i18n]{i18n}} for details.}
}
\value{
An object of class \code{XiMpLe.doc}.
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.pluginmap.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.pluginmap.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.pluginmap.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -17,39 +17,30 @@
\item{components}{Either an object of class \code{XiMpLe.node} to be pasted as the \code{<components>} section (see
\code{\link[rkwarddev:rk.XML.components]{rk.XML.components}} for details). Or a character vector with at least
-one plugin component file name,
- relative path from the pluginmap file and ending with ".xml". Can be set to \code{NULL} if
+one plugin component file name, relative path from the pluginmap file and ending with ".xml". Can be set to \code{NULL} if
\code{require} is used accordingly.}
\item{hierarchy}{Either an object of class \code{XiMpLe.node} to be pasted as the \code{<hierarchy>} section (see
\code{\link[rkwarddev:rk.XML.hierarchy]{rk.XML.hierarchy}} for details). Or a character vector with instructions
-where to place the plugin in the menu hierarchy,
- one list or string for each included component. Valid single values are
-\code{"file"}, \code{"edit"}, \code{"view"}, \code{"workspace"}, \code{"run"},
- \code{"data"},
-\code{"analysis"}, \code{"plots"}, \code{"distributions"}, \code{"windows"},
- \code{"settings"} and \code{"help"},
-anything else will place it in a "test" menu. If \code{hierarchy} is a list,
- each entry represents the label of a menu level.
+where to place the plugin in the menu hierarchy, one list or string for each included component. Valid single values are
+\code{"file"}, \code{"edit"}, \code{"view"}, \code{"workspace"}, \code{"run"}, \code{"data"},
+\code{"analysis"}, \code{"plots"}, \code{"distributions"}, \code{"windows"}, \code{"settings"} and \code{"help"},
+anything else will place it in a "test" menu. If \code{hierarchy} is a list, each entry represents the label of a menu level.
Can be set to \code{NULL} if \code{require} is used accordingly.}
\item{require}{Either a (list of) objects of class \code{XiMpLe.node} to be pasted as a \code{<require>} section (see
\code{\link[rkwarddev:rk.XML.require]{rk.XML.require}} for details). Or a character vector with at least
one .pluginmap filename to be included in this one.}
-\item{x11.context}{An object of class \code{XiMpLe.node} to be pasted as a \code{<context id="x11">} section,
- see
+\item{x11.context}{An object of class \code{XiMpLe.node} to be pasted as a \code{<context id="x11">} section, see
\code{\link[rkwarddev:rk.XML.context]{rk.XML.context}} for details.}
-\item{import.context}{An object of class \code{XiMpLe.node} to be pasted as the \code{<context id="import">} section,
- see
+\item{import.context}{An object of class \code{XiMpLe.node} to be pasted as the \code{<context id="import">} section, see
\code{\link[rkwarddev:rk.XML.context]{rk.XML.context}} for details.}
-\item{clean.name}{Logical, if \code{TRUE},
- all non-alphanumeric characters except the underscore (\code{"_"}) will be removed from \code{name}.}
+\item{clean.name}{Logical, if \code{TRUE}, all non-alphanumeric characters except the underscore (\code{"_"}) will be removed from \code{name}.}
-\item{hints}{Logical,
- if \code{TRUE} and you leave out optional entries (like \code{about=NULL}), dummy sections will be added as comments.}
+\item{hints}{Logical, if \code{TRUE} and you leave out optional entries (like \code{about=NULL}), dummy sections will be added as comments.}
\item{gen.info}{Logical, if \code{TRUE} a comment note will be written into the document,
that it was generated by \code{rkwarddev} and changes should be done to the script.}
@@ -57,15 +48,12 @@
\item{dependencies}{An object of class \code{XiMpLe.node} to be pasted as the \code{<dependencies>} section,
See \code{\link[rkwarddev:rk.XML.dependencies]{rk.XML.dependencies}} for details. Skipped if \code{NULL}.}
-\item{namespace}{Character string, the namespace attribute of the \code{<document>} node,
- defaults to the plugin name (which you probably shouldn't touch...)}
+\item{namespace}{Character string, the namespace attribute of the \code{<document>} node, defaults to the plugin name (which you probably shouldn't touch...)}
-\item{priority}{Character string,
- the priority attribute of the \code{<document>} node. Must be either "hidden", "low", "medium", or "high",
+\item{priority}{Character string, the priority attribute of the \code{<document>} node. Must be either "hidden", "low", "medium", or "high",
defaults to "medium".}
-\item{lang}{Character string,
- the language of the document. See \code{\link[rkwarddev:i18n]{i18n}} for details.}
+\item{lang}{Character string, the language of the document. See \code{\link[rkwarddev:i18n]{i18n}} for details.}
}
\value{
An object of class \code{XiMpLe.node}.
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.radio.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.radio.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.radio.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -10,21 +10,17 @@
\item{label}{Character string, a text label for this plugin element.}
\item{options}{A named list with options to choose from. The names of the list elements will become
-labels of the options, \code{val} defines the value to submit if the option is checked,
- and
+labels of the options, \code{val} defines the value to submit if the option is checked, and
\code{chk=TRUE} should be set in the one option which is checked by default. Objects generated with
\code{\link[rkwarddev:rk.XML.option]{rk.XML.option}} are accepted as well.}
\item{id.name}{Character string, a unique ID for this plugin element.
-If \code{"auto"} and a label was provided,
- an ID will be generated automatically from the label.}
+If \code{"auto"} and a label was provided, an ID will be generated automatically from the label.}
-\item{help}{Character string,
- will be used as the \code{text} value for a setting node in the .rkh file.
+\item{help}{Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
Also needs \code{component} to be set accordingly!}
-\item{component}{Character string,
- name of the component this node belongs to. Only needed if you
+\item{component}{Character string, name of the component this node belongs to. Only needed if you
want to use the scan features for automatic help file generation; needs \code{help} to be set
accordingly, too!}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.require.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.require.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.require.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -6,16 +6,13 @@
rk.XML.require(file = NULL, map = NULL, localized = FALSE)
}
\arguments{
-\item{file}{Character string,
- file name of another .pluginmap file to be included. Should be
+\item{file}{Character string, file name of another .pluginmap file to be included. Should be
preferred over \code{map} if that file is in the same package.}
-\item{map}{Character string,
- should be \code{"namespace::id"} of another .pluginmap to be included.
+\item{map}{Character string, should be \code{"namespace::id"} of another .pluginmap to be included.
Can be used to address plugin maps which are not part of the same plugin package.}
-\item{localized}{Logical,
- only useful for plugins with static internationalisation. Adds the \code{localized}
+\item{localized}{Logical, only useful for plugins with static internationalisation. Adds the \code{localized}
attribute if set to \code{TRUE}; \code{file} must then point to the default pluginmap in a subdirectory
containing all localised pluginmaps.}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.saveobj.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.saveobj.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.saveobj.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -10,29 +10,23 @@
\arguments{
\item{label}{Character string, a text label for this plugin element.}
-\item{chk}{Logical,
- if \code{TRUE} and \code{checkable=TRUE} the option is checkable and active by default.}
+\item{chk}{Logical, if \code{TRUE} and \code{checkable=TRUE} the option is checkable and active by default.}
\item{checkable}{Logical, if \code{TRUE} the option can be switched on and off.}
\item{initial}{Character string, the default name for the object should be saved to.
-If \code{"auto"} and a label was provided,
- an name will be generated automatically from the label.}
+If \code{"auto"} and a label was provided, an name will be generated automatically from the label.}
\item{required}{Logical, whether an entry is mandatory or not.}
\item{id.name}{Character string, a unique ID for this plugin element.
-If \code{"auto"} and a label was provided,
- an ID will be generated automatically from the label.}
+If \code{"auto"} and a label was provided, an ID will be generated automatically from the label.}
-\item{help}{Character string,
- will be used as the \code{text} value for a setting node in the .rkh file.
-If set to \code{FALSE},
- \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
+\item{help}{Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
+If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
Also needs \code{component} to be set accordingly!}
-\item{component}{Character string,
- name of the component this node belongs to. Only needed if you
+\item{component}{Character string, name of the component this node belongs to. Only needed if you
want to use the scan features for automatic help file generation; needs \code{help} to be set
accordingly, too!}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.select.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.select.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.select.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -10,23 +10,18 @@
\item{label}{Character string, a text label for this plugin element.}
\item{options}{A named list with options to choose from. The names of the list elements will become
-labels of the options, \code{val} defines the value to submit if the option is selected,
- and
+labels of the options, \code{val} defines the value to submit if the option is selected, and
\code{chk=TRUE} should be set in the one option which is selected by default. Objects generated with
\code{\link[rkwarddev:rk.XML.option]{rk.XML.option}} are accepted as well.}
\item{id.name}{Character string, a unique ID for this plugin element.
-If \code{"auto"} and a label was provided,
- an ID will be generated automatically from the label.}
+If \code{"auto"} and a label was provided, an ID will be generated automatically from the label.}
-\item{help}{Character string,
- will be used as the \code{text} value for a setting node in the .rkh file.
-If set to \code{FALSE},
- \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
+\item{help}{Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
+If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
Also needs \code{component} to be set accordingly!}
-\item{component}{Character string,
- name of the component this node belongs to. Only needed if you
+\item{component}{Character string, name of the component this node belongs to. Only needed if you
want to use the scan features for automatic help file generation; needs \code{help} to be set
accordingly, too!}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.set.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.set.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.set.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -13,8 +13,7 @@
\item{to}{Character string or logical, the value the property should be set to.}
-\item{check.modifiers}{Logical,
- if \code{TRUE} the given modifiers will be checked for validity. Should only be
+\item{check.modifiers}{Logical, if \code{TRUE} the given modifiers will be checked for validity. Should only be
turned off if you know what you're doing.}
}
\value{
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.snippets.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.snippets.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.snippets.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -12,8 +12,7 @@
An object of class \code{XiMpLe.node}.
}
\description{
-This function will create a snippets node for the document section,
- with optional child nodes "snippet".
+This function will create a snippets node for the document section, with optional child nodes "snippet".
}
\examples{
# define a formula section with varselector and varslots
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.spinbox.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.spinbox.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.spinbox.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -10,34 +10,26 @@
\arguments{
\item{label}{Character string, a text label for this plugin element.}
-\item{min}{Numeric,
- the lowest value allowed. Defaults to the lowest value technically representable in the spinbox.}
+\item{min}{Numeric, the lowest value allowed. Defaults to the lowest value technically representable in the spinbox.}
-\item{max}{Numeric,
- the largest value allowed. Defaults to the highest value technically representable in the spinbox.}
+\item{max}{Numeric, the largest value allowed. Defaults to the highest value technically representable in the spinbox.}
\item{initial}{Numeric, will be used as the initial value.}
\item{real}{Logical, whether values should be real or integer numbers.}
-\item{precision}{Numeric,
- if \code{real=TRUE} defines the default number of decimal places shown in the spinbox.}
+\item{precision}{Numeric, if \code{real=TRUE} defines the default number of decimal places shown in the spinbox.}
-\item{max.precision}{Numeric,
- maximum number of digits that can be meaningfully represented.}
+\item{max.precision}{Numeric, maximum number of digits that can be meaningfully represented.}
\item{id.name}{Character string, a unique ID for this plugin element.
-If \code{"auto"} and a label was provided,
- an ID will be generated automatically from the label.}
+If \code{"auto"} and a label was provided, an ID will be generated automatically from the label.}
-\item{help}{Character string,
- will be used as the \code{text} value for a setting node in the .rkh file.
-If set to \code{FALSE},
- \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
+\item{help}{Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
+If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
Also needs \code{component} to be set accordingly!}
-\item{component}{Character string,
- name of the component this node belongs to. Only needed if you
+\item{component}{Character string, name of the component this node belongs to. Only needed if you
want to use the scan features for automatic help file generation; needs \code{help} to be set
accordingly, too!}
}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.switch.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.switch.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.switch.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -17,8 +17,7 @@
Each list must contain either a \code{fixed_value} or a \code{dynamic_value} element.
In addition, each \code{case} list must also have one \code{standard} element.}
-\item{modifier}{Character string,
- an optional modifier to be appended to \code{condition}.}
+\item{modifier}{Character string, an optional modifier to be appended to \code{condition}.}
\item{id.name}{Character string, a unique ID for this property.
If \code{"auto"}, IDs will be generated automatically from the condition ID.}
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.values.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.values.Rd 2014-10-25 13:37:25 UTC (rev 4956)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.values.Rd 2014-10-26 00:46:49 UTC (rev 4957)
@@ -32,22 +32,16 @@
\item{frame.label}{Character string, a text label for the whole frame.}
-\item{id.name}{Character vector, unique IDs for the frame (first entry),
- the valueselector (second entry)
-and valueslot (third entry). If \code{formula.dependent} is not \code{NULL},
- a fourth and fifth entry is needed as well,
+\item{id.name}{Character vector, unique IDs for the frame (first entry), the valueselector (second entry)
+and valueslot (third entry). If \code{formula.dependent} is not \code{NULL}, a fourth and fifth entry is needed as well,
for the dependent valueslot and the formula node, respectively.
-If \code{"auto"},
- IDs will be generated automatically from \code{label} and \code{slot.text}.}
+If \code{"auto"}, IDs will be generated automatically from \code{label} and \code{slot.text}.}
-\item{help}{Character string,
- will be used as the \code{text} value for a setting node in the .rkh file.
-If set to \code{FALSE},
- \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
+\item{help}{Character string or list of character values and XiMpLe nodes, will be used as the \code{text} value for a setting node in the .rkh file.
+If set to \code{FALSE}, \code{\link[rkwarddev:rk.rkh.scan]{rk.rkh.scan}} will ignore this node.
Also needs \code{component} to be set accordingly!}
-\item{component}{Character string,
- name of the component this node belongs to. Only needed if you
+\item{component}{Character string, name of the component this node belongs to. Only needed if you
want to use the scan features for automatic help file generation; needs \code{help} to be set
accordingly, too!}
}
@@ -57,8 +51,7 @@
\description{
This function will create a <frame> node including a <valueselector> and a <valueslot> node. It is
actually a wrapper for \code{\link[rkwarddev:rk.XML.valueslot]{rk.XML.valueslot}} and
-\code{\link[rkwarddev:rk.XML.valueselector]{rk.XML.valueselector}},
- since you usually won't define one
+\code{\link[rkwarddev:rk.XML.valueselector]{rk.XML.valueselector}}, since you usually won't define one
without the other.
}
\examples{
@@ Diff output truncated at 100000 characters. @@
More information about the rkward-tracker
mailing list