On 15/04/2012 11:31, Egon Willighagen wrote:
> On Sun, Apr 15, 2012 at 12:15 PM, Alan R Williams<[email protected]> wrote:
>> 2.4 is very nearly ready to go, so this has just squeaked in :-)
>>
>>> I have signed the contributor agreement, but do not think I currently
>>> have write access to the Google code SVN repository.
>>
>> Do you want me to add you?
>
> Yeah, why not? I did sign the contributor agreement, and will not push
> anything with discussing it on the mailing list.
You are added.
> One thing I like to look into, if you do not say it is impossible, is
> to have a renderer for CDK objects, textual... right now, these Java
> object are 'rendered' by a cryptic Java String dump... In Bioclipse,
> it would print the molecular formula:
>
>> cdk.fromSMILES("COC")
> CDKMolecule:C2H6O
>
> Something like that might be more useful for people starting with
> CDK-Taverna. It would at least be helpful in seeing if and what goes
> wrong. But I do not have a lot of time for this, so no promises about
> ETAs.
It is certainly possible. Adding a renderer is not difficult. It just
needs to implement the Renderer interface. That has four methods:
public boolean canHandle(String mimeType);
public boolean canHandle(ReferenceService referenceService,
T2Reference reference, String mimeType)
throws RendererException;
public JComponent getComponent(ReferenceService referenceService,
T2Reference reference) throws RendererException;
public String getType();
The only one I can see causing problems is the
canHandle(String mimeType) as I have no idea what Taverna will think the
mimeType of a VM object is.
The renderer should probably be added as part of the CDK plugin as it
will need access to CDK information.
> Egon
>
> PS. I will be in Manchester in the next two days, visiting the Open
> PHACTS team of Carole Goble.
We will see you soon then :-)
Alan
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
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/