HI,

 This my cwlActivity implement :
https://github.com/ThilinaManamgoda/incubator-taverna-common-activities/blob/master/taverna-cwl-activity/src/main/java/org/apache/taverna/cwl/CwlDumyActivity.java

1. is it wrong to do all process information related to Service detail
panel inside  the activity ? or should i make another module to hold those
code and import it in CWL Activity?

This is CwlContextualView class implement :
https://github.com/ThilinaManamgoda/incubator-taverna-common-activities/blob/master/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/view/CwlContextualView.java

1. So in order to extract info related to service detail panel information
which are processed in CWLActivity is used. How can i use annotation to
solve this?.
2. Or should i move processing code in CWL activity to another module and
then use it in both cwl-activity and cwl-activity-ui ?


regards,
Thilina.

On Mon, Jun 20, 2016 at 9:27 PM, Stian Soiland-Reyes <[email protected]>
wrote:

> 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