[kepler-dev] kepler actor documentation

Edward A. Lee eal at eecs.berkeley.edu
Thu Apr 6 16:57:28 PDT 2006


You could also use the features in the ptolemy.moml.filter package
to automatically change the names of parameters during MoML parsing.
This is what we use to get around backward compatibility constraints.

Edward

At 03:24 PM 4/6/2006, Dan Higgins wrote:
>Matt,
>     Note that changing parameter names like this 'breaks' a number of
>existing workflows since it changes things stored in the MOML. So when
>we make the changes we need to update any saved workflows.
>
>Dan
>
>Dan Higgins wrote:
>
> >Matt,
> >    At least part of the Parameter display problem is due to the way the
> >parameters are created in the code. For example,  the code has the line
> >
> >        _outputTypeAttr = new StringParameter(this, "outputType");
> >
> >This is a mistake according to Edward because the string 'outputType'
> >does not match the name '_outputTypeAttr', so a new StringParameter
> >named 'outputType' is created while your documentation is tied to the
> >'_outputTypeAttr' variable.
> > The correct way is to use 2 lines
> >
> >        _outputTypeAttr = new StringParameter(this, "_outputTypeAttr");
> >        _outputTypeAttr.setDisplayName("outputType");
> >
> >I made that one change and the documentation does then show up. There
> >are several places in the EML200DataSource actor where we need to set
> >the DisplayName properly.
> >
> >
> >Dan
> >
> >Matt Jones wrote:
> >
> >
> >
> >>I updated the EML200DataSource documentation this morning to try to show
> >>what I thought would be a good level of granularity for the actor
> >>documentation.  It now displays in Kepler if you run 'ant generateDoc'
> >>before you run 'ant run-dev'.   However, for some reason the Parameter
> >>documentation does not display -- it just says "No description".  Any
> >>idea of how to fix this? The 'trigger' and 'output' ports inherited from
> >>the superclass also show up as 'No port description', but I think you
> >>already knew about that issue.
> >>
> >>Nandita's HTML version of the actor docs shows all of the documentation,
> >>including the Parameter docs. However, it ignores the HTML formatting
> >>that I embedded.  It seems it would be nice to be able to deal with that
> >>because we need a way to provide some formatting in longer documentation
> >>sections.  The html tags are probably being escaped in the XML output
> >>and so probably are not being recognized by the XSLT processor.  Nandita
> >>-- what do you think?
> >>
> >>Jing -- can you review the EML200DataSource documentation for content to
> >>be sure I didn't make any mistakes -- I pretty much rewrote it all. Thanks.
> >>
> >>Matt
> >>
> >>Dan Higgins wrote:
> >>
> >>
> >>
> >>
> >>>Matt,
> >>>  You may be interested in just seeing the list of actors currently in
> >>>Kepler that were created at NCEAS under SEEK. [May be incomplete.]
> >>>
> >>>Dan
> >>>
> >>>
> >>>------------------------------------------------------------------------
> >>>
> >>>Actors created by NCEAS
> >>>
> >>>-- Dan Higgins --
> >>>AddGrids
> >>>CVHull2Raster
> >>>GARPSummary
> >>>GISHullActorJ
> >>>GridRescaler
> >>>GridReset
> >>>MergeGrids
> >>>MessageDigestTest
> >>>MetadataSource
> >>>ZipFiles
> >>>Rescaler
> >>>KeplerImageReader
> >>>ClimateChangeFileProcessor
> >>>ClimateFileProcessor
> >>>AscToRaw
> >>>URLToLocalFile
> >>>IJMacro
> >>>ImageJActor
> >>>ShowLocations
> >>>RExpression
> >>>---
> >>>
> >>>-- Chad --
> >>>GarpPrediction
> >>>GARPPresampleLayers
> >>>GARPAlgorithm
> >>>GDALFormatTranslator
> >>>GDALWarpandProjection
> >>>FilesystemCacheGet
> >>>FilesystemCachePut
> >>>---
> >>>
> >>>--Matt/Jing--
> >>>EML2Dataset
> >>>EcogridWriter
> >>>RBoxPlot
> >>>SummaryStatistics
> >>>---
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>
>
>--
>*******************************************************************
>Dan Higgins                                  higgins at nceas.ucsb.edu
>http://www.nceas.ucsb.edu/    Ph: 805-893-5127
>National Center for Ecological Analysis and Synthesis (NCEAS) Marine 
>Science Building - Room 3405
>Santa Barbara, CA 93195
>*******************************************************************
>
>
>_______________________________________________
>Kepler-dev mailing list
>Kepler-dev at ecoinformatics.org
>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev

------------
Edward A. Lee
Professor, Chair of the EE Division, Associate Chair of EECS
231 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0253 or 510-642-0455, fax: 510-642-2845
eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal  



More information about the Kepler-dev mailing list