rk.XML.context: Create XML "context" node for RKWard plugins

View source: R/rk.XML.context.R

rk.XML.contextR Documentation

Create XML "context" node for RKWard plugins

Description

This function will create a context node for .pluginmap files, with mandatory child nodes "menu".

Usage

rk.XML.context(..., id = "x11")

Arguments

...

Objects of class XiMpLe.node, must all be "menu".

id

Character string, either "x11" or "import".

Value

An object of class XiMpLe.node.

See Also

rk.XML.menu, rk.XML.entry, rk.XML.component, and the Introduction to Writing Plugins for RKWard

Examples

test.component <- rk.XML.component("My GUI dialog", "plugins/MyGUIdialog.xml")
test.entry <- rk.XML.entry(test.component)
test.menu <- rk.XML.menu("Analysis", test.entry, id.name="analysis")
test.context <- rk.XML.context(test.menu)
cat(pasteXML(test.context))

rkward-community/rkwarddev documentation built on May 9, 2022, 3:02 p.m.