[kepler-dev] [Bug 2384] New: - Documentation display problems in Kepler

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue Mar 14 14:27:56 PST 2006


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2384

           Summary: Documentation display problems in Kepler
           Product: Kepler
           Version: 1.0.0beta2
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: documentation
        AssignedTo: altintas at sdsc.edu
        ReportedBy: higgins at nceas.ucsb.edu
         QAContact: kepler-dev at ecoinformatics.org


In adding documentation to the RExpression actor, I discoved a problem with
the documentation display in Kepler (and perhaps in Ptolemy, also).

Consider one parameter defined in the RExpression actor -

   /**
    * The height of the output graphics bitmap in pixels
    */
    public StringParameter numYPixels;

But later on, this parameter is created with the statement

        numYPixels = new StringParameter(this, "Number of Y pixels in image");

Note that the display string "Number of Y pixels in image" is not the same as
the varible name 'numYPixels'

The doclet generated xml file has the proper association between the property
and value; i.e.

<property name="numYPixels">The height of the output graphics bitmap in
pixels</property>

But when I display the doc xml in Kepler using 'Get Documentation' the result is

"Number of Y pixels in image - No description"

The code to display the xml file replaces the 'numYPixels' name with its display
string 'Number of Y pixels in image' but it then loses the value! This seems to
happen whenever the parameter name is different than the display string; when
they agree, the descriptions are shown properly.

Dan


More information about the Kepler-dev mailing list