Re: [Taverna-hackers] adding multiple activities?

2010-10-20 Thread Alan R Williams
On 20/10/2010 09:32, Egon Willighagen wrote: Hi all, Hello, I am trying to get two activities visible in the workbench: public void findServiceDescriptionsAsync( FindServiceDescriptionsCallBack callBack) { ListServiceDescription results = new

Re: [Taverna-hackers] adding multiple activities?

2010-10-20 Thread Egon Willighagen
On Wed, Oct 20, 2010 at 11:22 AM, Alan R Williams ala...@cs.man.ac.uk wrote: I am not sure why.  However, you could try callback.partialResults(results); rather than do it for each service. That was the first option I tried... does not work either... this is what I originally had:

Re: [Taverna-hackers] Writings new Nodes in Taverna

2010-10-20 Thread Alan R Williams
On 20/10/2010 00:49, Jane Ren wrote: Hi, Hello 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,

Re: [Taverna-hackers] adding multiple activities?

2010-10-20 Thread Egon Willighagen
Hi Stian, On Wed, Oct 20, 2010 at 12:29 PM, Stian Soiland-Reyes soiland-re...@cs.manchester.ac.uk wrote: You  need to implement this method:        protected List? extends Object getIdentifyingData() {                // FIXME: Use your fields instead of example fields                return

Re: [Taverna-hackers] adding multiple activities?

2010-10-20 Thread Egon Willighagen
On Wed, Oct 20, 2010 at 2:49 PM, Stian Soiland-Reyes soiland-re...@cs.manchester.ac.uk wrote: On Wed, Oct 20, 2010 at 12:17, Egon Willighagen egon.willigha...@gmail.com wrote: We should probably make it a fault to return [] from getIdentifyingData(). Yes, please consider that a feature

Re: [Taverna-hackers] adding multiple activities?

2010-10-20 Thread Alan R Williams
On 20/10/2010 14:22, Egon Willighagen wrote: http://www.mygrid.org.uk/dev/issues/browse/T2-1657 http://www.mygrid.org.uk/dev/issues/browse/T2-1658 Thanks Egon. Egon Alan -- Download new Adobe(R) Flash(R)

Re: [Taverna-hackers] adding multiple activities?

2010-10-20 Thread Stian Soiland-Reyes
On Wed, Oct 20, 2010 at 14:22, Egon Willighagen egon.willigha...@gmail.com wrote: http://www.mygrid.org.uk/dev/issues/browse/T2-1657 http://www.mygrid.org.uk/dev/issues/browse/T2-1658 thanks! I think that bit is clear, but please add it to the Service invocation tutorial too, which is the

Re: [Taverna-hackers] Writings new Nodes in Taverna

2010-10-20 Thread Jane Ren
Hi, Is there a way to set default values for inport ports? Thanks Jane -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and

Re: [Taverna-hackers] Writings new Nodes in Taverna

2010-10-20 Thread Jane Ren
Hi Alan, I meant how to set the default value when I write code for the input port? Thanks jane From: Alan R Williams [ala...@cs.man.ac.uk] Sent: Wednesday, October 20, 2010 9:04 AM To: List for general discussion and hacking of the Taverna project

Re: [Taverna-hackers] Writings new Nodes in Taverna

2010-10-20 Thread Alan R Williams
On 20/10/2010 17:17, Jane Ren wrote: Hi Alan, Hello, I meant how to set the default value when I write code for the input port? The executeAsynch method for your activity is called with a MapString, T2Reference which gives the values sent to the input ports of the activity. Assuming your

Re: [Taverna-hackers] Importing Services

2010-10-20 Thread Jane Ren
Hi Alan, I really appreciate your detailed suggestions. Surely your WSDLs are in the WSDL format..? Are you saying that some of your WSDL services don't load normally in Taverna if added manually? If so we would very much like to hear the details about this as it's likely to be a bug on our

Re: [Taverna-hackers] Writings new Nodes in Taverna

2010-10-20 Thread Jane Ren
Alan, Sorry, I probably didn't state my problem clearly. If I add the default value stuff in executeAsynch, then the users won't be able to see the default values right? is there a way to add default values in configurePorts() where the ports are made? Thanks jane

[Taverna-hackers] what is wrong with my plugin site (or plugin)?

2010-10-20 Thread Egon Willighagen
Hi all, with thanx to David and Stian, I managed to set up a plugin site (http://pele.farmbio.uu.se/oscar4-taverna/), and I can successfully install the plugin (and it is listed as installed, and listed in $HOME/.taverna-2.2.0/)... However, the activities do not show up in the workbench GUI. I