On 15 June 2016 at 14:38, Thilina Manamgoda <[email protected]> wrote:
> So last week i have been working on the cwl service panel. Here you can
> have a peek how it's going to be shown in the workbench. link
> <http://maanadevgsoc2016.blogspot.com/2016/06/adding-service-detail-panel.html>

Great!

> 1. I have changed the CWL activity such that the process of extracting
> description is done in the activity itself

Hm.. this sounds a bit wrong considering how in Taverna 3 the
cwl-activity-ui in the Workbench should (be able to) be independent of
cwl-activity and not pull in lots of taverna-engine stuff.

Perhaps we need a 'taverna-cwl' utility module for such code that both
cwl-activity and cwl-activity-ui can depend on?


> 2. So all the processed informations are stored in the activity is it okay ?

I think they should ultimately be made into annotations.. as much of
it will be derived from the loaded CWL file it might change if the CWL
file changes?


> 3. .can we improve the look of panel ?

Yes please :-)  I've never liked the nested table-style there..

Perhaps just a bit of colour will help? I don't think we need the
<table> for the ports, you could list them instead with bold
font/header for their names?

But if you want to create it with your own JPanels and JLabels (or
some third-party Swing helpers?) it could take some time to get the
layout working well - particularly if you want to support multi-line
text AND line-wrapping.


I think it's good you preserve the line breaks, as you see the "***"
formatting comes out correctly. But what if there is no linebreaks?

Could you test with a very long description on a single line in the CWL file?




-- 
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons
http://orcid.org/0000-0001-9842-9718

Reply via email to