Bug #5691
open
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.:
<property name="control" class="ptolemy.actor.parameters.PortParameter" value="Local Execution">
<property name="style" class="ptolemy.actor.gui.style.EditableChoiceStyle">
<property name="choice1" class="ptolemy.data.expr.StringParameter" value="Map Reduce">
</property>
<property name="choice2" class="ptolemy.data.expr.StringParameter" value="Map Only">
</property>
<property name="choice3" class="ptolemy.data.expr.StringParameter" value="Cross Reduce">
</property>
<property name="choice4" class="ptolemy.data.expr.StringParameter" value="Job Submission">
</property>
</property>
</property>
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.
Original Bugzilla ID was 5691
Also available in: Atom
PDF