<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Marc,<br>
<br>
I attached a workflow and a html file which demostrate how to
use BrowserUI actor. Please put these two files into one directory
and open the workflow (xml file). If you run the workflow, you will
be guided to a web page for your input. After you type in the web
page, submit it and go back to Kepler GUI, you will see the values
you just typed in xml format.<br>
<br>
You can build your own html and place it anywhere you want. Just
remember update the workflow based on your new html url, such as
'<a class="moz-txt-link-freetext" href="file:///Users/jianwu/Kepler/repository/kepler/useful-workflows/BrowserUI/test.html">file:///Users/jianwu/Kepler/repository/kepler/useful-workflows/BrowserUI/test.html</a>'.
<br>
<br>
On 10/4/11 1:47 PM, J. Marc Edwards wrote:
<blockquote cite="mid:4E8B70CB.8080208@nimbisservices.com"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Matt:<br>
<br>
OK...the BrowserUI looks like an interesting actor option for my
workflow. It would be nice to be able to "search" workflow *.kar
files to determine if a workflow used a specific actor, in this
case, a BrowserUI actor.<br>
<br>
I'd like to take a look at some workflows that use this actor.<br>
<br>
Do you also have a contact at SDSC with whom I may interact on
this query?<br>
<br>
Kind regards, Marc<br>
<div class="moz-signature">
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
<title></title>
<meta name="GENERATOR" content="LibreOffice 3.3 (Unix)">
<meta name="CREATED" content="0;0">
<meta name="CHANGEDBY" content="J. Edwards">
<meta name="CHANGED" content="20110727;17373400">
<meta name="CHANGEDBY" content="J. Edwards">
<style type="text/css">
<!--
P { color: #000000 }
-->
</style>
<p><font color="#800080"><font face="Comic Sans MS, cursive"><font
style="font-size: 13pt" size="3"><span
style="font-weight: normal">J. Marc Edwards</span></font></font></font><font
face="Comic Sans MS, cursive"><br>
Lead Architect - Semiconductor Design Portals</font><br>
<font color="#3333ff"><font face="Nimbus Sans L, sans-serif"><font
size="4">Nimbis Services, Inc.</font></font></font><br>
<font face="Courier New">Skype: (919) 747-3775<br>
Cell: (919) 345-1021<br>
Fax: (919) 882-8602</font><br>
<font face="Ubuntu"><a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:marc.edwards@nimbisservices.com">marc.edwards@nimbisservices.com</a><br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="http://www.nimbisservices.com">www.nimbisservices.com</a></font></p>
</div>
<br>
On 10/04/2011 02:10 PM, Matt Jones wrote:
<blockquote
cite="mid:CABHpJO1H=-uVmzSq0o7=n5=ZuP2x+Zg9GmhTidndU36AfBxY1Q@mail.gmail.com"
type="cite">I believe that the folks at SDSC created the
BrowserUI actor for just this purpose -- you write an HTML page
containing the input questions you want, configure the BrowserUI
to display it at the right point in the workflow, and then
gather the output from the configured ports. Ilkay probably has
examples of its use.
<div> <br>
</div>
<div>It would nice to have a Java-based survey actor of some
sort with an extensible dialog, but I don't think anyone has
built one yet. I could imagine a nice utility that let you
configure the output you want, and for each output configure a
set of prompts and choose widgets for display, and then get
back the output on the ports. This would be a more seamless
version of what BrowserUI does without the external browser
and without having to write HTML. Any takers who would want
to create such an actor?</div>
<div><br>
</div>
<div>Matt<br>
<br>
<div class="gmail_quote">On Tue, Oct 4, 2011 at 9:57 AM, J.
Marc Edwards <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:marc.edwards@nimbisservices.com">marc.edwards@nimbisservices.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFCC" text="#000000"> Chris:<br>
<br>
What I am thinking of is this...<br>
<br>
I would like for a user to run a workflow "as is" with
no modification. As the workflow begins execution, a
graphical window pops up, prompting the user with a
suite of fields that the user can then input text data
into. The workflow can then process the user input,
check it for validity, perhaps then re-prompt the user
to correct their input. There would be options where
the GUI can check for certain files and use that as
input to the user fields or write out those files based
upon the user input fields.<br>
<br>
I want to use this as a means for users to configure
user parameters for external applications:<br>
<br>
...have a set of default parameters.<br>
...have the the user input their own customer
parameters for the external application.<br>
...write out a parameter configuration file that can
be used on subsequent runs of the external application.<br>
...would like to have 8-10 configuration files that
could be selected from the GUI OR to run the workflow
with a specific parameter configuration file.<br>
<br>
Regards, Marc
<div class="im"><br>
<div>
<p><font color="#800080"><font face="Comic Sans MS,
cursive"><font style="font-size:13pt" size="3"><span
style="font-weight:normal">J. Marc Edwards</span></font></font></font><font
face="Comic Sans MS, cursive"><br>
Lead Architect - Semiconductor Design Portals</font><br>
<font color="#3333ff"><font face="Nimbus Sans L,
sans-serif"><font size="4">Nimbis Services,
Inc.</font></font></font><br>
<font face="Courier New">Skype: <a
moz-do-not-send="true"
href="tel:%28919%29%20747-3775"
value="+19197473775" target="_blank">(919)
747-3775</a><br>
Cell: <a moz-do-not-send="true"
href="tel:%28919%29%20345-1021"
value="+19193451021" target="_blank">(919)
345-1021</a><br>
Fax: <a moz-do-not-send="true"
href="tel:%28919%29%20882-8602"
value="+19198828602" target="_blank">(919)
882-8602</a></font><br>
<font face="Ubuntu"><a moz-do-not-send="true"
href="mailto:marc.edwards@nimbisservices.com"
target="_blank">marc.edwards@nimbisservices.com</a><br>
<a moz-do-not-send="true"
href="http://www.nimbisservices.com"
target="_blank">www.nimbisservices.com</a></font></p>
</div>
<br>
</div>
<div>
<div class="h5"> On 10/04/2011 11:33 AM, Christopher
Brooks wrote:
<blockquote type="cite"> Hi Marc,<br>
In Kepler, the "Convert URL to Image" actor is
ptolemy.actor.lib.image.URLToImage:<br>
"The ConvertURLToImage actor reads the URL or path
of an image and outputs the image in a form that
can be used by other actors (an image token)." <br>
<br>
Ptolemy includes interfaces to Java Advanced
Imaging (JAI) and Java Media Framework (JMF).<br>
There was some work done with OpenCV, but it
likely only present in the Ptolemy tree.<br>
<br>
As an aside, the Plotter has a facility where the
user can draw a dataset. In theory, that facility
could be <br>
used in an actor to allow the user to draw the
dataset and then output the data.<br>
<br>
Ptolemy can also use the locations of actors in
the window as input. We use this with the
wireless model of<br>
computation to indicate how far apart wireless
nodes are.<br>
<br>
What sort of graphical input did you have in mind?<br>
<br>
_Christopher<br>
<br>
<br>
<br>
On 10/4/11 8:25 AM, J. Marc Edwards wrote:
<blockquote type="cite"> All:<br>
<br>
I am curious if any graphical input actors that
have been developed. I would like to have a
graphical actor that I could customize for a
variety of input from a workflow user.<br>
<br>
Kind regards, Marc<br>
<div>-- <br>
<p><font color="#800080"><font face="Comic
Sans MS, cursive"><font
style="font-size:13pt" size="3"><span
style="font-weight:normal">J. Marc
Edwards</span></font></font></font><font
face="Comic Sans MS, cursive"><br>
Lead Architect - Semiconductor Design
Portals</font><br>
<font color="#3333ff"><font face="Nimbus
Sans L, sans-serif"><font size="4">Nimbis
Services, Inc.</font></font></font><br>
<font face="Courier New">Skype: <a
moz-do-not-send="true"
href="tel:%28919%29%20747-3775"
value="+19197473775" target="_blank">(919)
747-3775</a><br>
Cell: <a moz-do-not-send="true"
href="tel:%28919%29%20345-1021"
value="+19193451021" target="_blank">(919)
345-1021</a><br>
Fax: <a moz-do-not-send="true"
href="tel:%28919%29%20882-8602"
value="+19198828602" target="_blank">(919)
882-8602</a></font><br>
<font face="Ubuntu"><a
moz-do-not-send="true"
href="mailto:marc.edwards@nimbisservices.com"
target="_blank">marc.edwards@nimbisservices.com</a><br>
<a moz-do-not-send="true"
href="http://www.nimbisservices.com"
target="_blank">www.nimbisservices.com</a></font></p>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Kepler-users mailing list
<a moz-do-not-send="true" href="mailto:Kepler-users@kepler-project.org" target="_blank">Kepler-users@kepler-project.org</a>
<a moz-do-not-send="true" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
</pre>
</blockquote>
<br>
<pre cols="72">--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: <a moz-do-not-send="true" href="tel:510.643.9841" value="+15106439841" target="_blank">510.643.9841</a> (Office: 545Q Cory)
home: (F-Tu) <a moz-do-not-send="true" href="tel:707.665.0131" value="+17076650131" target="_blank">707.665.0131</a> cell: <a moz-do-not-send="true" href="tel:707.332.0670" value="+17073320670" target="_blank">707.332.0670</a> </pre>
</blockquote>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Kepler-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a><br>
<a moz-do-not-send="true"
href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users"
target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kepler-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best wishes
Sincerely yours
Jianwu Wang
<a class="moz-txt-link-abbreviated" href="mailto:jianwu@sdsc.edu">jianwu@sdsc.edu</a>
Assistant Project Scientist
Scientific Workflow Automation Technologies (SWAT) Laboratory
San Diego Supercomputer Center
University of California, San Diego
San Diego, U.S.A.
</pre>
</body>
</html>