Mahmut Uludag wrote:
>>> we will update the plugin in the coming weeks
>> Would that be made available for 2.0 or the 2.1 beta 1..?
> 
> I didn't understand the question. We aim to have it for both versions
> 2.0 and 2.1-beta1 but we didn't start working on it yet. When i
> developed the initial one i can say i spent several weeks for it (i
> think not months!), i hope i will be able to update it fairly quickly
> this time. I remember some email discussions on updating taverna-1
> plugins to taverna-2, i will check them but it would be very useful if
> you email any existing online documentation related to writing/updating
> plugins for taverna-2.

Hello,

Sorry for the delayed reply.

We don't have any online documentation at the moment.  The best place to 
look would probably be at the existing Soaplab activity.

net.sf.taverna.t2.activities.soaplab package
============================================

In net.sf.taverna.t2.activities.soaplab there is Soap (which is used by 
SoaplabActivity), SoaplabActivity, SoaplabActivityConfigurationBean and 
SoaplabActivityHealthChecker.

You would need to have files similar to SoaplabActivity and 
SoaplabActivityConfigurationBean.  SoaplabActivity represents an 
instance of a Soaplab service.  Details about the instance of the 
service are specified by the SoaplabActivityConfigurationBean.  The 
service is run by the executeAsynch method.  The 
SoaplabActivityConfigurationBean contains information that describes the 
service e.g. its endpoint.

You don't need SoaplabActivityHealthChecker.

net.sf.taverna.t2.activities.soaplab.actions package
====================================================

This package contains classes for performing the action when you 
configure the activity e.g. for Soaplab, setting the backoff time.

SoaplabActivityConfigurationAction pops up the configuration panel where 
  you can alter the values associated with the 
SoaplabActivityConfigurationBean for the activity.

SoaplabConfigurationPanel is the panel popped up when configuring the 
activity.

If your type of activity cannot be configured then you do not need to 
have an actions package.

net.sf.taverna.t2.activities.soaplab.menu package
=================================================

This package contains classes that put menu items in menus.  For 
Soaplab, you just have ConfigureSoaplabActivityMenuAction that puts 
allows the menu item to cause the SoaplabActivityConfigurationAction to 
be in a menu.

If your type of activity cannot be configured then you do not need to 
have a menu package.

net.sf.taverna.t2.activities.soaplab.partition package
======================================================

This can be ignored for Taverna 2.1

net.sf.taverna.t2.activities.soaplab.query package
==================================================

This can be ignored for Taverna 2.1 except for SoaplabActivityIcon that 
contains methods to get the Icon to represent an activity.  You can put 
this in another package e.g. servicedescriptions.

net.sf.taverna.t2.activities.soaplab.servicedescriptions package
================================================================

SoaplabServiceDescription contains the information needed to show the 
Soaplab activity in the service panel, and to be able to create a 
SoaplabActivity from a SoaplabServiceDescription.

SoaplabServiceProvider corresponds to where a place of 
SoaplabServiceDescriptions come from e.g. 
http://www.ebi.ac.uk/soaplab/services .  It includes the 
findServiceDescriptionsAsync method that gets the set of 
SoaplabServiceDescriptions for the given provider.  The information 
about where the service provider is, is specified in 
SoaplabServiceProviderConfig.

Note that the fields of the SoaplabServiceProviderConfig class are used 
to create the dialog that appears when a user imports a new set of 
Soaplab services.

net.sf.taverna.t2.activities.soaplab.views package
==================================================

This package contains the panel that is shown when you request details 
about an Activity within a workflow.  SoaplabActivityContextualView 
shows the details for a SoaplabActivity.  It normally shows the 
information contained in the corresponding SoaplabActivityConfigurationBean.

If you can configure the activity, then the ContextualView should 
contain a getConfigureAction that returns the corresponding 
ConfigurationAction e.g. SoaplabActivityConfigurationAction.

SoaplabActivityViewFactory is a factory class that creates a 
SoaplabActivityContextualView for a given SoaplabActivity.

META-INF/services
=================

You will need:

net.sf.taverna.t2.servicedescriptions.ServiceDescriptionProvider that 
contains the name of the class of the service provider e.g.

net.sf.taverna.t2.activities.soaplab.servicedescriptions.SoaplabServiceProvider

net.sf.taverna.t2.ui.menu.MenuComponent that contains the name of the 
class of the menu action e.g.

net.sf.taverna.t2.activities.soaplab.menu.ConfigureSoaplabActivityMenuAction

net.sf.taverna.t2.workbench.activityicons.ActivityIconSPI that contains 
the name of the class that describes the icon e.g.

net.sf.taverna.t2.activities.soaplab.query.SoaplabActivityIcon

net.sf.taverna.t2.workbench.ui.views.contextualviews.activity.ContextualViewFactory
 
that contains the name of the class that creates the contextual view e.g.
net.sf.taverna.t2.activities.soaplab.views.SoaplabActivityViewFactory

I hope this is some help.

> Mahmut

Alan

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information

Reply via email to