Uploaded image for project: 'Apache Taverna'
  1. Apache Taverna
  2. TAVERNA-541

Constant value should take note of the port type and allow more possibilities

    XMLWordPrintableJSON

Details

    • Bug
    • Status: To Do
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Taverna Engine
    • None

    Description

      Jane Ren reports:

      I would like to write code to add input ports for 3 different types of values, string, file and boolean.

      I tried the following
      addInput(pn, 0, false, null, String.class);
      addInput(pn, 0, false, null, File.class);
      addInput(pn, 0, false, null, Boolean.class);

      But in all 3 cases, when the user right clicks on the node to add a constant value, the textfield asks the user to enter a string.
      I was hoping File.class would create a file browse button and Boolean.class would create maybe a check box.
      So does Taverna have this kind of feature?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stain Stian Soiland-Reyes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: