https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362012-09-18T18:56:47ZEcoinformatics RedmineKepler - Bug #5691: parameter choices are not savedhttps://projects.ecoinformatics.org/ecoinfo/issues/5691?journal_id=196872012-09-18T18:56:47ZDaniel Crawldanielcrawl@gmail.com
<ul></ul><p>If I add choices to a parameter in a workflow, I would like those choices available the next time I open the workflow. I was able to accomplish this by manually adding an EditableChoiceStyle containing each choice, e.g.:</p>
<pre><code>&lt;property name="control" class="ptolemy.actor.parameters.PortParameter" value="Local Execution"&gt;<br /> &lt;property name="style" class="ptolemy.actor.gui.style.EditableChoiceStyle"&gt;<br /> &lt;property name="choice1" class="ptolemy.data.expr.StringParameter" value="Map Reduce"&gt;<br /> &lt;/property&gt;<br /> &lt;property name="choice2" class="ptolemy.data.expr.StringParameter" value="Map Only"&gt;<br /> &lt;/property&gt;<br /> &lt;property name="choice3" class="ptolemy.data.expr.StringParameter" value="Cross Reduce"&gt;<br /> &lt;/property&gt;<br /> &lt;property name="choice4" class="ptolemy.data.expr.StringParameter" value="Job Submission"&gt;<br /> &lt;/property&gt;<br /> &lt;/property&gt;<br /> &lt;/property&gt;</code></pre>
<p>I have to manually add and remove the choiceN parameters; it would be nice if this were automatically done. I'm lowering the priority and retargeting.</p> Kepler - Bug #5691: parameter choices are not savedhttps://projects.ecoinformatics.org/ecoinfo/issues/5691?journal_id=196882013-03-27T21:31:21ZRedmine Admin
<ul></ul><p>Original Bugzilla ID was 5691</p>