[rkward-cvs] SF.net SVN: rkward-code:[4809] trunk/rkward

tfry at users.sf.net tfry at users.sf.net
Sat Sep 6 18:53:27 UTC 2014


Revision: 4809
          http://sourceforge.net/p/rkward/code/4809
Author:   tfry
Date:     2014-09-06 18:53:27 +0000 (Sat, 06 Sep 2014)
Log Message:
-----------
Document source_property attribute

Modified Paths:
--------------
    trunk/rkward/ChangeLog
    trunk/rkward/doc/rkwardplugins/index.docbook
    trunk/rkward/rkward/plugins/data/level_select.xml

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2014-09-06 18:36:38 UTC (rev 4808)
+++ trunk/rkward/ChangeLog	2014-09-06 18:53:27 UTC (rev 4809)
@@ -10,12 +10,10 @@
 - Fixed: Adjust to (re-?)named parameters for options("pager")
 - Allow plugin UI script code to query R for information
 	TODO: - document
-	      - piece all the new features together and implement an embeddable level selector plugin on top of this
+	      - piece all the new features together and finish implementing an embeddable level selector plugin on top of this
 - Fixed: potential crash when a previously installed pluginmap is not longer readable
 - Allow to connect <varslot>/<valueslot> source to any property, not just <varselectors>
-	TODO: document
 - New plugin elements <valueselector> and <select>
-	TODO: allow to fill <valueselector> from R expression
 - New plugin element <valueslot> for selecting arbitrary string values (otherwise almost identical to <varslot>)
 - <varslots> can be set to accept the same object several times. Used in scatterplot plugin.
 - New R function rk.embed.device() for manually embedding graphics devices in RKWard

Modified: trunk/rkward/doc/rkwardplugins/index.docbook
===================================================================
--- trunk/rkward/doc/rkwardplugins/index.docbook	2014-09-06 18:36:38 UTC (rev 4808)
+++ trunk/rkward/doc/rkwardplugins/index.docbook	2014-09-06 18:53:27 UTC (rev 4809)
@@ -2534,9 +2534,13 @@
 	</varlistentry>
 	<varlistentry>
 	<term><parameter>source</parameter></term>
-	<listitem><para>The varselector to fetch the selection from (required, unless you connect manually)</para></listitem>
+	<listitem><para>The varselector to fetch the selection from (required, unless you connect manually or using source_property)</para></listitem>
 	</varlistentry>
 	<varlistentry>
+	<term><parameter>source_property</parameter></term>
+	<listitem><para>An arbitrary property to copy values from, when the select button is clicked. If specified, this overrides the "source"-attribute.</para></listitem>
+	</varlistentry>
+	<varlistentry>
 	<term><parameter>required</parameter></term>
 	<listitem><para>Whether - for submitting the code - it is required that this varslot holds a valid value. See <link linkend="elementproperties">required-property</link> (optional, defaults to false)</para></listitem>
 	</varlistentry>

Modified: trunk/rkward/rkward/plugins/data/level_select.xml
===================================================================
--- trunk/rkward/rkward/plugins/data/level_select.xml	2014-09-06 18:36:38 UTC (rev 4808)
+++ trunk/rkward/rkward/plugins/data/level_select.xml	2014-09-06 18:53:27 UTC (rev 4809)
@@ -11,6 +11,7 @@
 
 		<script><![CDATA[
 				last_command_id = -1;
+				gui.setValue ("limitnote.visible", false);
 
 				gui.addChangeCommand ("variable", "update ()");
 				gui.addChangeCommand ("limit", "update ()");





More information about the rkward-tracker mailing list