http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5691

Daniel Crawl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P5
   Target Milestone|2.4.0                       |2.X.Y
           Severity|normal                      |enhancement

--- Comment #1 from Daniel Crawl <[email protected]> 2012-09-18 11:56:47 PDT ---
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.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev

Reply via email to