On Wed, Jun 3, 2009 at 10:08, Stuart Owen <[email protected]> wrote: > The need for default values also came up at the t2 platform workshop. I > think this thread indicates that the priority needs bumping up for this > requirement. > The difference between default values in T1 and upstream String > Constants in T2 is that in T1 the default value will be used unless > there is a connection to that port.
I've got some ideas on how we could do default values. From the user interface I would have text fields in the 'Details' tab where you could just start typing in for each port - or click 'Advanced' and bring up a dialogue similar to the one for running workflows - in case you wanted a more complex default input with lists etc. In the diagram you would not see these inputs cluttering up - but they could be String constants (or a more advanced version that also allows lists, etc) in disguise, just have some annotation on them saying which processor they are default values for. The diagram and workflow explorer would recognize these and not include them by default. When a 'real' connection is made to such an input port that already has a default value, the link to any 'defaults' would be silently removed - however the Constant would still be there with an annotation linking it to the processor, so that if the 'real' link is removed, the 'default' is re-introduced. Obviously some work would be needed in hiding these (similar to recently discussed T2-620), and in removing stale default values when the processor or processor port it 'belongs to' is removed. -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ taverna-users mailing list [email protected] [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
