[rkward-cvs] SF.net SVN: rkward:[3863] trunk/rkward/rkward/rbackend/rpackages/rkwarddev

m-eik at users.sourceforge.net m-eik at users.sourceforge.net
Thu Sep 29 21:17:14 UTC 2011


Revision: 3863
          http://rkward.svn.sourceforge.net/rkward/?rev=3863&view=rev
Author:   m-eik
Date:     2011-09-29 21:17:14 +0000 (Thu, 29 Sep 2011)
Log Message:
-----------
rkwarddev: added (not yet working) functions for pluginmap file XML nodes

Modified Paths:
--------------
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/DESCRIPTION
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/NAMESPACE
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rkwarddev-package.R
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/inst/CITATION
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rkwarddev-package.Rd

Added Paths:
-----------
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.attribute.R
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.component.R
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.components.R
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.context.R
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.entry.R
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.hierarchy.R
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.menu.R
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.require.R
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.attribute.Rd
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.component.Rd
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.components.Rd
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.context.Rd
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.entry.Rd
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.hierarchy.Rd
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.menu.Rd
    trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.require.Rd

Modified: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/DESCRIPTION
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/DESCRIPTION	2011-09-29 17:18:43 UTC (rev 3862)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/DESCRIPTION	2011-09-29 21:17:14 UTC (rev 3863)
@@ -14,7 +14,7 @@
 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.02-2
+Version: 0.02-3
 Date: 2011-09-29
 Collate:
     'rk.build.plugin.R'
@@ -29,27 +29,35 @@
     'rkwarddev-desc-internal.R'
     'rkwarddev-package.R'
     'rk.XML.about.R'
+    'rk.XML.attribute.R'
     'rk.XML.browser.R'
     'rk.XML.cbox.R'
     'rk.XML.col.R'
+    'rk.XML.component.R'
+    'rk.XML.components.R'
     'rk.XML.connect.R'
+    'rk.XML.context.R'
     'rk.XML.convert.R'
     'rk.XML.copy.R'
     'rk.XML.dialog.R'
     'rk.XML.dropdown.R'
     'rk.XML.embed.R'
+    'rk.XML.entry.R'
     'rk.XML.external.R'
     'rk.XML.formula.R'
     'rk.XML.frame.R'
+    'rk.XML.hierarchy.R'
     'rk.XML.include.R'
     'rk.XML.input.R'
     'rk.XML.insert.R'
     'rk.XML.logic.R'
+    'rk.XML.menu.R'
     'rk.XML.page.R'
     'rk.XML.pluginmap.R'
     'rk.XML.plugin.R'
     'rk.XML.preview.R'
     'rk.XML.radio.R'
+    'rk.XML.require.R'
     'rk.XML.row.R'
     'rk.XML.saveobj.R'
     'rk.XML.set.R'

Modified: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/NAMESPACE
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/NAMESPACE	2011-09-29 17:18:43 UTC (rev 3862)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/NAMESPACE	2011-09-29 21:17:14 UTC (rev 3863)
@@ -7,27 +7,35 @@
 export(rk.rkh.scan)
 export(rk.testsuite.doc)
 export(rk.XML.about)
+export(rk.XML.attribute)
 export(rk.XML.browser)
 export(rk.XML.cbox)
 export(rk.XML.col)
+export(rk.XML.component)
+export(rk.XML.components)
 export(rk.XML.connect)
+export(rk.XML.context)
 export(rk.XML.convert)
 export(rk.XML.copy)
 export(rk.XML.dialog)
 export(rk.XML.dropdown)
 export(rk.XML.embed)
+export(rk.XML.entry)
 export(rk.XML.external)
 export(rk.XML.formula)
 export(rk.XML.frame)
+export(rk.XML.hierarchy)
 export(rk.XML.include)
 export(rk.XML.input)
 export(rk.XML.insert)
 export(rk.XML.logic)
+export(rk.XML.menu)
 export(rk.XML.page)
 export(rk.XML.plugin)
 export(rk.XML.pluginmap)
 export(rk.XML.preview)
 export(rk.XML.radio)
+export(rk.XML.require)
 export(rk.XML.row)
 export(rk.XML.saveobj)
 export(rk.XML.set)

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.attribute.R
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.attribute.R	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.attribute.R	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,38 @@
+#' Create XML "attribute" node for RKWard plugins
+#'
+#' This function will create a attribute node for component sections in .pluginmap files.
+#' 
+#' @note NOT WORKING YET
+#'
+#' @param label A label.
+#' @param value A value.
+#' @param id.name Character string, a unique ID for this plugin element.
+#'		If \code{"auto"}, an ID will be generated automatically from the tag names and
+#'		IDs of the given nodes.
+#' @return A list of objects of class \code{XiMpLe.node}.
+#' @export
+#' @seealso
+#'		\code{\link[rkwarddev:rk.XML.attributes]{rk.XML.attributes}}
+# @examples
+# # define a formula section with varselector and varslots
+# test.formula <- rk.XML.vars("Variables", "Fixed", formula.dependent="Dependent")
+# # define the attribute
+# test.attribute <- rk.XML.attribute(test.formula)
+# cat(pasteXMLNode(test.attribute))
+
+rk.XML.attribute <- function(label, value, id.name="auto"){
+	if(identical(id.name, "auto")){
+		# try autogenerating some id
+		id.name <- auto.ids(node.soup(nodes), prefix=ID.prefix("attribute"), chars=10)
+	} else if(is.null(id.name)){
+		stop(simpleError("Components need an ID!"))
+	} else {}
+
+	node <- new("XiMpLe.node",
+			name="attribute",
+			attributes=list(id=id.name),
+			children=child.list(nodes)
+		)
+
+	return(node)
+}

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.component.R
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.component.R	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.component.R	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,40 @@
+#' Create XML "component" node for RKWard plugins
+#'
+#' This function will create a component node for components sections.
+#' 
+#' @note NOT WORKING YET
+#'
+#' @param label A label.
+#' @param file A file name.
+#' @param id.name Character string, a unique ID for this plugin element.
+#'		If \code{"auto"}, an ID will be generated automatically from the tag names and
+#'		IDs of the given nodes.
+#' @param type Character string, type of component. As of now, only "standard" is supported. The option is
+#'		just implemented for completeness.
+#' @return A list of objects of class \code{XiMpLe.node}.
+#' @export
+#' @seealso
+#'		\code{\link[rkwarddev:rk.XML.components]{rk.XML.components}}
+# @examples
+# # define a formula section with varselector and varslots
+# test.formula <- rk.XML.vars("Variables", "Fixed", formula.dependent="Dependent")
+# # define the component
+# test.component <- rk.XML.component(test.formula)
+# cat(pasteXMLNode(test.component))
+
+rk.XML.component <- function(label, file, id.name="auto", type="standard"){
+	if(identical(id.name, "auto")){
+		# try autogenerating some id
+		id.name <- auto.ids(node.soup(nodes), prefix=ID.prefix("component"), chars=10)
+	} else if(is.null(id.name)){
+		stop(simpleError("Components need an ID!"))
+	} else {}
+
+	node <- new("XiMpLe.node",
+			name="component",
+			attributes=list(id=id.name),
+			children=child.list(nodes)
+		)
+
+	return(node)
+}

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.components.R
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.components.R	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.components.R	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,41 @@
+#' Create XML "components" node for RKWard plugins
+#'
+#' This function will create a components node for a .pluginmap file, with optional child nodes "component".
+#'
+#' @note NOT WORKING YET
+#'
+#' @param nodes A (list of) objects of class \code{XiMpLe.node}. They must all have the name "component".
+#' @return A list of objects of class \code{XiMpLe.node}.
+#' @export
+#' @seealso
+#'		\code{\link[rkwarddev:rk.XML.pluginmap]{rk.XML.pluginmap}}
+#'		\code{\link[rkwarddev:rk.XML.component]{rk.XML.component}}
+# @examples
+# # define a formula section with varselector and varslots
+# test.formula <- rk.XML.vars("Variables", "Fixed", formula.dependent="Dependent")
+# # define the components section
+# test.component <- rk.XML.component(test.formula)
+# test.components <- rk.XML.components(test.component)
+# cat(pasteXMLNode(test.components))
+
+rk.XML.components <- function(nodes=NULL){
+	if(!is.null(nodes)){
+		# check the node names and allow only valid ones
+		sapply(child.list(nodes), function(this.node){
+				node.name <- this.node at name
+				if(!identical(node.name, "component")){
+					stop(simpleError(paste("Invalid XML nodes for components section: ", node.name, sep="")))
+				} else {}
+			})
+	} else {
+		nodes <- list()
+	}
+
+	node <- new("XiMpLe.node",
+			name="components",
+			children=child.list(nodes),
+			value=""
+		)
+
+	return(node)
+}

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.context.R
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.context.R	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.context.R	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,25 @@
+#' Create XML "context" node for RKWard plugins
+#'
+#' This function will create a context node for .pluginmap files.
+#' 
+#' @note NOT WORKING YET
+#'
+#' @param id Either "x11" or "import".
+#' @return A list of objects of class \code{XiMpLe.node}.
+#' @export
+# @examples
+# # define a formula section with varselector and varslots
+# test.formula <- rk.XML.vars("Variables", "Fixed", formula.dependent="Dependent")
+# # define the context
+# test.context <- rk.XML.context(test.formula)
+# cat(pasteXMLNode(test.context))
+
+rk.XML.context <- function(id="x11"){
+
+	node <- new("XiMpLe.node",
+			name="context",
+			attributes=list(id=id.name)
+		)
+
+	return(node)
+}

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.entry.R
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.entry.R	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.entry.R	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,35 @@
+#' Create XML "entry" node for RKWard plugins
+#'
+#' This function will create a entry node for .pluginmap files.
+#' 
+#' @note NOT WORKING YET
+#'
+#' @param component An ID.
+#' @param index An index.
+#' @return A list of objects of class \code{XiMpLe.node}.
+#' @export
+#' @seealso
+#'		\code{\link[rkwarddev:rk.XML.entrys]{rk.XML.entrys}}
+# @examples
+# # define a formula section with varselector and varslots
+# test.formula <- rk.XML.vars("Variables", "Fixed", formula.dependent="Dependent")
+# # define the entry
+# test.entry <- rk.XML.entry(test.formula)
+# cat(pasteXMLNode(test.entry))
+
+rk.XML.entry <- function(component, index=1){
+	if(identical(id.name, "auto")){
+		# try autogenerating some id
+		id.name <- auto.ids(node.soup(nodes), prefix=ID.prefix("entry"), chars=10)
+	} else if(is.null(id.name)){
+		stop(simpleError("Components need an ID!"))
+	} else {}
+
+	node <- new("XiMpLe.node",
+			name="entry",
+			attributes=list(id=id.name),
+			children=child.list(nodes)
+		)
+
+	return(node)
+}

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.hierarchy.R
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.hierarchy.R	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.hierarchy.R	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,35 @@
+#' Create XML hierarchy section for RKWard plugins
+#'
+#' This function will create a hierarchy section with optional child nodes "menu".
+#'
+#' @note NOT WORKING YET
+#'
+#' @param nodes A (list of) objects of class \code{XiMpLe.node}. 
+#' @return A list of objects of class \code{XiMpLe.node}.
+#' @export
+# @examples
+# # define an input field and two checkboxes
+# test.input <- rk.XML.input("Type some text")
+# test.cbox1 <- rk.XML.cbox(label="Want to type?", val="true")
+# test.cbox2 <- rk.XML.cbox(label="Are you shure?", val="true")
+# test.hierarchy <- rk.XML.hierarchy(rk.XML.col(list(test.input, test.cbox1, test.cbox2)))
+# cat(pasteXMLNode(test.hierarchy))
+
+rk.XML.hierarchy <- function(nodes){
+	# check the node names and allow only valid ones
+	node.names <- sapply(child.list(nodes), function(this.node){
+			this.node at name
+		})
+
+	invalid.sets <- !node.names %in% c("menu")
+	if(any(invalid.sets)){
+		stop(simpleError(paste("Invalid XML nodes for hierarchy section: ", paste(node.names[invalid.sets], collapse=", "), sep="")))
+	} else {}
+
+	node <- new("XiMpLe.node",
+			name="hierarchy",
+			children=child.list(nodes)
+		)
+
+	return(node)
+}

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.menu.R
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.menu.R	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.menu.R	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,38 @@
+#' Create XML "menu" node for RKWard plugins
+#'
+#' This function will create a menu node for entry sections.
+#' 
+#' @note NOT WORKING YET
+#'
+#' @param label A label.
+#' @param index An index.
+#' @param id.name Character string, a unique ID for this plugin element.
+#'		If \code{"auto"}, an ID will be generated automatically from the tag names and
+#'		IDs of the given nodes.
+#' @return A list of objects of class \code{XiMpLe.node}.
+#' @export
+#' @seealso
+#'		\code{\link[rkwarddev:rk.XML.menus]{rk.XML.menus}}
+# @examples
+# # define a formula section with varselector and varslots
+# test.formula <- rk.XML.vars("Variables", "Fixed", formula.dependent="Dependent")
+# # define the menu
+# test.menu <- rk.XML.menu(test.formula)
+# cat(pasteXMLNode(test.menu))
+
+rk.XML.menu <- function(label, index=1, id.name="auto"){
+	if(identical(id.name, "auto")){
+		# try autogenerating some id
+		id.name <- auto.ids(node.soup(nodes), prefix=ID.prefix("menu"), chars=10)
+	} else if(is.null(id.name)){
+		stop(simpleError("Components need an ID!"))
+	} else {}
+
+	node <- new("XiMpLe.node",
+			name="menu",
+			attributes=list(id=id.name),
+			children=child.list(nodes)
+		)
+
+	return(node)
+}

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.require.R
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.require.R	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rk.XML.require.R	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,25 @@
+#' Create XML "require" node for RKWard plugins
+#'
+#' This function will create a require node for .pluginmap files.
+#' 
+#' @note NOT WORKING YET
+#'
+#' @param file A file name.
+#' @return A list of objects of class \code{XiMpLe.node}.
+#' @export
+# @examples
+# # define a formula section with varselector and varslots
+# test.formula <- rk.XML.vars("Variables", "Fixed", formula.dependent="Dependent")
+# # define the require
+# test.require <- rk.XML.require(test.formula)
+# cat(pasteXMLNode(test.require))
+
+rk.XML.require <- function(file){
+
+	node <- new("XiMpLe.node",
+			name="require",
+			attributes=list(file=file)
+		)
+
+	return(node)
+}

Modified: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rkwarddev-package.R
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rkwarddev-package.R	2011-09-29 17:18:43 UTC (rev 3862)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/R/rkwarddev-package.R	2011-09-29 21:17:14 UTC (rev 3863)
@@ -3,7 +3,7 @@
 #' \tabular{ll}{
 #' Package: \tab rkwarddev\cr
 #' Type: \tab Package\cr
-#' Version: \tab 0.02-2\cr
+#' Version: \tab 0.02-3\cr
 #' Date: \tab 2011-09-29\cr
 #' Depends: \tab R (>= 2.9.0),XiMpLe,rkward (>= 0.5.6)\cr
 #' Enhances: \tab rkward\cr

Modified: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/inst/CITATION
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/inst/CITATION	2011-09-29 17:18:43 UTC (rev 3862)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/inst/CITATION	2011-09-29 21:17:14 UTC (rev 3863)
@@ -2,12 +2,12 @@
 		title="rkwarddev: A collection of tools for RKWard plugin development",
 		author="Meik Michalke",
 		year="2011",
-		note="(Version 0.02-2)",
+		note="(Version 0.02-3)",
 		url="http://rkward.sourceforge.net",
 
 		textVersion =
 		paste("Michalke, M. (2011). ",
-				"rkwarddev: A collection of tools for RKWard plugin development (Version 0.02-2). ",
+				"rkwarddev: A collection of tools for RKWard plugin development (Version 0.02-3). ",
 				"Available from http://rkward.sourceforge.net",
 				sep=""),
 

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.attribute.Rd
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.attribute.Rd	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.attribute.Rd	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,30 @@
+\name{rk.XML.attribute}
+\alias{rk.XML.attribute}
+\title{Create XML "attribute" node for RKWard plugins}
+\usage{
+  rk.XML.attribute(label, value, id.name = "auto")
+}
+\arguments{
+  \item{label}{A label.}
+
+  \item{value}{A value.}
+
+  \item{id.name}{Character string, a unique ID for this
+  plugin element. If \code{"auto"}, an ID will be generated
+  automatically from the tag names and IDs of the given
+  nodes.}
+}
+\value{
+  A list of objects of class \code{XiMpLe.node}.
+}
+\description{
+  This function will create a attribute node for component
+  sections in .pluginmap files.
+}
+\note{
+  NOT WORKING YET
+}
+\seealso{
+  \code{\link[rkwarddev:rk.XML.attributes]{rk.XML.attributes}}
+}
+

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.component.Rd
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.component.Rd	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.component.Rd	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,35 @@
+\name{rk.XML.component}
+\alias{rk.XML.component}
+\title{Create XML "component" node for RKWard plugins}
+\usage{
+  rk.XML.component(label, file, id.name = "auto", type =
+  "standard")
+}
+\arguments{
+  \item{label}{A label.}
+
+  \item{file}{A file name.}
+
+  \item{id.name}{Character string, a unique ID for this
+  plugin element. If \code{"auto"}, an ID will be generated
+  automatically from the tag names and IDs of the given
+  nodes.}
+
+  \item{type}{Character string, type of component. As of
+  now, only "standard" is supported. The option is just
+  implemented for completeness.}
+}
+\value{
+  A list of objects of class \code{XiMpLe.node}.
+}
+\description{
+  This function will create a component node for components
+  sections.
+}
+\note{
+  NOT WORKING YET
+}
+\seealso{
+  \code{\link[rkwarddev:rk.XML.components]{rk.XML.components}}
+}
+

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.components.Rd
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.components.Rd	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.components.Rd	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,26 @@
+\name{rk.XML.components}
+\alias{rk.XML.components}
+\title{Create XML "components" node for RKWard plugins}
+\usage{
+  rk.XML.components(nodes = NULL)
+}
+\arguments{
+  \item{nodes}{A (list of) objects of class
+  \code{XiMpLe.node}. They must all have the name
+  "component".}
+}
+\value{
+  A list of objects of class \code{XiMpLe.node}.
+}
+\description{
+  This function will create a components node for a
+  .pluginmap file, with optional child nodes "component".
+}
+\note{
+  NOT WORKING YET
+}
+\seealso{
+  \code{\link[rkwarddev:rk.XML.pluginmap]{rk.XML.pluginmap}}
+  \code{\link[rkwarddev:rk.XML.component]{rk.XML.component}}
+}
+

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.context.Rd
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.context.Rd	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.context.Rd	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,20 @@
+\name{rk.XML.context}
+\alias{rk.XML.context}
+\title{Create XML "context" node for RKWard plugins}
+\usage{
+  rk.XML.context(id = "x11")
+}
+\arguments{
+  \item{id}{Either "x11" or "import".}
+}
+\value{
+  A list of objects of class \code{XiMpLe.node}.
+}
+\description{
+  This function will create a context node for .pluginmap
+  files.
+}
+\note{
+  NOT WORKING YET
+}
+

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.entry.Rd
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.entry.Rd	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.entry.Rd	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,25 @@
+\name{rk.XML.entry}
+\alias{rk.XML.entry}
+\title{Create XML "entry" node for RKWard plugins}
+\usage{
+  rk.XML.entry(component, index = 1)
+}
+\arguments{
+  \item{component}{An ID.}
+
+  \item{index}{An index.}
+}
+\value{
+  A list of objects of class \code{XiMpLe.node}.
+}
+\description{
+  This function will create a entry node for .pluginmap
+  files.
+}
+\note{
+  NOT WORKING YET
+}
+\seealso{
+  \code{\link[rkwarddev:rk.XML.entrys]{rk.XML.entrys}}
+}
+

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.hierarchy.Rd
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.hierarchy.Rd	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.hierarchy.Rd	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,21 @@
+\name{rk.XML.hierarchy}
+\alias{rk.XML.hierarchy}
+\title{Create XML hierarchy section for RKWard plugins}
+\usage{
+  rk.XML.hierarchy(nodes)
+}
+\arguments{
+  \item{nodes}{A (list of) objects of class
+  \code{XiMpLe.node}.}
+}
+\value{
+  A list of objects of class \code{XiMpLe.node}.
+}
+\description{
+  This function will create a hierarchy section with
+  optional child nodes "menu".
+}
+\note{
+  NOT WORKING YET
+}
+

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.menu.Rd
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.menu.Rd	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.menu.Rd	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,29 @@
+\name{rk.XML.menu}
+\alias{rk.XML.menu}
+\title{Create XML "menu" node for RKWard plugins}
+\usage{
+  rk.XML.menu(label, index = 1, id.name = "auto")
+}
+\arguments{
+  \item{label}{A label.}
+
+  \item{index}{An index.}
+
+  \item{id.name}{Character string, a unique ID for this
+  plugin element. If \code{"auto"}, an ID will be generated
+  automatically from the tag names and IDs of the given
+  nodes.}
+}
+\value{
+  A list of objects of class \code{XiMpLe.node}.
+}
+\description{
+  This function will create a menu node for entry sections.
+}
+\note{
+  NOT WORKING YET
+}
+\seealso{
+  \code{\link[rkwarddev:rk.XML.menus]{rk.XML.menus}}
+}
+

Added: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.require.Rd
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.require.Rd	                        (rev 0)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rk.XML.require.Rd	2011-09-29 21:17:14 UTC (rev 3863)
@@ -0,0 +1,20 @@
+\name{rk.XML.require}
+\alias{rk.XML.require}
+\title{Create XML "require" node for RKWard plugins}
+\usage{
+  rk.XML.require(file)
+}
+\arguments{
+  \item{file}{A file name.}
+}
+\value{
+  A list of objects of class \code{XiMpLe.node}.
+}
+\description{
+  This function will create a require node for .pluginmap
+  files.
+}
+\note{
+  NOT WORKING YET
+}
+

Modified: trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rkwarddev-package.Rd
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rkwarddev-package.Rd	2011-09-29 17:18:43 UTC (rev 3862)
+++ trunk/rkward/rkward/rbackend/rpackages/rkwarddev/man/rkwarddev-package.Rd	2011-09-29 21:17:14 UTC (rev 3863)
@@ -8,7 +8,7 @@
 }
 \details{
   \tabular{ll}{ Package: \tab rkwarddev\cr Type: \tab
-  Package\cr Version: \tab 0.02-2\cr Date: \tab
+  Package\cr Version: \tab 0.02-3\cr Date: \tab
   2011-09-29\cr Depends: \tab R (>= 2.9.0),XiMpLe,rkward
   (>= 0.5.6)\cr Enhances: \tab rkward\cr Encoding: \tab
   UTF-8\cr License: \tab GPL (>= 3)\cr LazyLoad: \tab

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the rkward-tracker mailing list