rk.XML.hierarchy: Create XML hierarchy section for RKWard plugins

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

rk.XML.hierarchyR Documentation

Create XML hierarchy section for RKWard plugins

Description

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

Usage

rk.XML.hierarchy(...)

Arguments

...

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

Value

An object of class XiMpLe.node.

See Also

rk.XML.menu, rk.XML.entry, rk.XML.component, rk.XML.components, 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", nodes=test.entry, id.name="analysis")
test.hierarchy <- rk.XML.hierarchy(test.menu)
cat(pasteXML(test.hierarchy))

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