David Withers wrote:

Hello David,

> The WorkflowExplorerTreeModel class (from
> net.sf.taverna.t2.ui-components:workflow-explorer) checks for instances
> of ActivityOutputPortImpl instead of ActivityOutputPort.
> 
> I think this is because there was no ActivityOutputPort class when this
> code was written rather than ActivityOutputPortImpl being specifically
> required.
> 
> I have a custom implementation of ActivityOutputPort for the SADI
> activity (so I can add contextual menus for the ports) but this doesn't
> work with the workflow explorer.

I'm not sure that creating a custom implementation of ActivityOutputPort 
is a good idea.

> Can we change WorkflowExplorerTreeModel to use the ActivityOutputPort
> interface please?

Certainly.  I've done an analysis of what in the core and infrastructure 
is used in the UI to check for anomalies.  The wrong usage you've found 
is on the wiki in the page 
http://www.mygrid.org.uk/dev/wiki/display/developer/2.1+Core+WorkflowModel+Usage

I'll know more about the timeframe for the change tomorrow.

Warning - the Architecture page in that section is under development so 
should not be taken as true :-)

> David.

Alan

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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