Thanks for your help!

> And of course, in any case, if a plugin defines only one
> interface, that will always be used.

I tried to create a plugin that uses only a wizard (see example code below).
However, when I launch the plugin from the menu, no wizard appears, but a dialog
that

contains only the standard buttons. (I configured rkward to prefer the
recommended

interface type.) The XML code that rkwarddev generated does not define dialog.


require(rkwarddev)
local({
  foo.input <- rk.XML.radio("Foo input",
    id.name="foo_input",
    options=list(
      "Show me foo"=c(val="show"),
      "Skip foo"=c(val="skip")
    )
  )

  full.wizard <- rk.XML.wizard(label="test", rk.XML.page(foo.input),
rk.XML.page(rk.XML.text("foo")), rk.XML.page(rk.XML.text("bar")))

  plugin.dir <<- rk.plugin.skeleton("test",

    provides=c("wizard"),
    xml=list(wizard=full.wizard),
    pluginmap=list(name="test", hierarchy=list("test", "test")), load=TRUE,
edit=TRUE, show=TRUE, overwrite=TRUE
  )
})

> I guess it might make sense to remember the most recently used
> interface, at least per session, and re-use that interface, when the plugin is
> opened again. Would this help? (If so, please add this as a wish to our
> feature request tracker).

I will do that.


Regards
Birk

Thomas Friedrichsmeier <[email protected]> hat am 7. Mai
2012 um 20:24 geschrieben:

> Hi,
>
> On Monday 07 May 2012, Birk Diedenhofen wrote:
> > Is it possible to launch the wizard of a plugin directly from the rkward
> > menu? (Without having to open the plugin dialog and click "Use wizard".)
>
> see Settings->Configure RKWard->Plugins, the topmost radio control. "Prefer
> recommended interface" means to use which ever interface is defined _first_ in
> the plugin .xml. (And of course, in any case, if a plugin defines only one
> interface, that will always be used).
>
> There is no option for the user to indicate a preference for a specific
> plugin, though. I guess it might make sense to remember the most recently used
> interface, at least per session, and re-use that interface, when the plugin is
> opened again. Would this help? (If so, please add this as a wish to our
> feature request tracker).
>
> Regards
> Thomas

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
RKWard-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkward-devel

Reply via email to