Hi all,

I am trying to get two activities visible in the workbench:

        public void findServiceDescriptionsAsync(
                        FindServiceDescriptionsCallBack callBack) {
                List<ServiceDescription> results = new 
ArrayList<ServiceDescription>();
                ServiceDescription service = new OPSINServiceDesc();
                service.setDescription("Convert IUPAC names into CML");
                results.add(service);
                callBack.partialResults(Collections.singletonList(service));
                service = new RecognizeEntitiesServiceDesc();
                service.setDescription("Extract chemical entities from a plain 
text");
                results.add(service);
                callBack.partialResults(Collections.singletonList(service));
                callBack.finished();
        }

But I only get either of the two to show up, not both...

What can be the reasons why I do not get both activities to show up?

The full source is available at:

https://bitbucket.org/egonw/oscar4-taverna/src

Any tip welcome! Thanx,

Egon

-- 
Dr E.L. Willighagen
Postdoctoral Research Associate
University of Cambridge
Homepage: http://egonw.github.com/
LinkedIn: http://se.linkedin.com/in/egonw
Blog: http://chem-bla-ics.blogspot.com/
PubList: http://www.citeulike.org/user/egonw/tag/papers

------------------------------------------------------------------------------
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