View source: R/rk.XML.context.R
rk.XML.context | R Documentation |
This function will create a context node for .pluginmap files, with mandatory child nodes "menu".
rk.XML.context(..., id = "x11")
... |
Objects of class |
id |
Character string, either "x11" or "import". |
An object of class XiMpLe.node
.
rk.XML.menu
,
rk.XML.entry
,
rk.XML.component
,
and the Introduction to Writing Plugins for RKWard
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.