Hi,

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?

Thanks
Jane
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to