[rkward-cvs] SF.net SVN: rkward:[3850] trunk/rkward/doc/rkwardplugins/index.docbook

m-eik at users.sourceforge.net m-eik at users.sourceforge.net
Tue Sep 27 16:50:23 UTC 2011


Revision: 3850
          http://rkward.svn.sourceforge.net/rkward/?rev=3850&view=rev
Author:   m-eik
Date:     2011-09-27 16:50:22 +0000 (Tue, 27 Sep 2011)
Log Message:
-----------
corrected "types" typo in writing plugins docs

Modified Paths:
--------------
    trunk/rkward/doc/rkwardplugins/index.docbook

Modified: trunk/rkward/doc/rkwardplugins/index.docbook
===================================================================
--- trunk/rkward/doc/rkwardplugins/index.docbook	2011-09-27 14:36:43 UTC (rev 3849)
+++ trunk/rkward/doc/rkwardplugins/index.docbook	2011-09-27 16:50:22 UTC (rev 3850)
@@ -315,8 +315,8 @@
 Next, we nest a <column> inside the row. I.e. the following elements will be place above each other (top-to-bottom), and all will be to the right of the <varselector>.
 </para>
 <programlisting>
-						<varslot type="numeric" id="x" source="vars" required="true" label="compare"/>
-						<varslot type="numeric" id="y" source="vars" required="true" label="against"/>
+						<varslot types="number" id="x" source="vars" required="true" label="compare"/>
+						<varslot types="number" id="y" source="vars" required="true" label="against"/>
 </programlisting>
 <para>
 	These elements are the counterpart to the <varselector>. They represent <quote>slots</quote> into which the user can put variables. You will note that the <parameter>source</parameter> is set to the same value as the <parameter>id</parameter> of the <varselector>. This means, the <varslot>s will each take their variables from the varselector. The <varslot>s also have to be given an <parameter>id</parameter>. They may have a label, and they may be set to <quote>required</quote>. This means that the <quote>submit</quote> button will not be enabled until the <varslot> holds a valid value. Finally the <parameter>type</parameter> attribute is not interpreted, yet, but it will be used to take care that only the correct types of variables will be allowed in the <varslot>.
@@ -742,12 +742,12 @@
 		<row>
 			<varselector id="vars"/>
 			<column>
-				<varslot id="x" type="numeric" source="vars" required="true" label="compare"/>
+				<varslot id="x" types="number" source="vars" required="true" label="compare"/>
 				<radio id="mode" label="Compare against">
 					<option value="variable" checked="true" label="another variable (select below)"/>
 					<option value="constant" label="a constant value (set below)"/>
 				</radio>
-				<varslot id="y" type="numeric" source="vars" required="true" label="variable"/>
+				<varslot id="y" types="number" source="vars" required="true" label="variable"/>
 				<spinbox id="constant" initial="0" label="constant" />
 			</column>
 		</row>
@@ -1883,8 +1883,8 @@
 	<listitem><para>If you specify one or more R classnames (separated by spaces (" ")), here, the varslot will only accept objects belonging to those classes (otional, <emphasis>use with great care</emphasis>, the user should not be prevented from making valid choices, and R has <emphasis>a lot</emphasis> of different classes!)</para></listitem>
 	</varlistentry>
 	<varlistentry>
-	<term><type></term>
-	<listitem><para>If you specify one or more variables types (separated by spaced (" ")), here, the varslot will only accept objects of those types. Valid types are "unknown", "numeric", "string", "factor", "invalid". (Optional, <emphasis>use with great care</emphasis>, the user should not be prevented from making valid choices, and rkward does not always know the type of a variable)</para></listitem>
+	<term><types></term>
+	<listitem><para>If you specify one or more variables types (separated by spaced (" ")), here, the varslot will only accept objects of those types. Valid types are "unknown", "number", "string", "factor", "invalid". (Optional, <emphasis>use with great care</emphasis>, the user should not be prevented from making valid choices, and rkward does not always know the type of a variable)</para></listitem>
 	</varlistentry>
 	<varlistentry>
 	<term><num_dimensions></term>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the rkward-tracker mailing list