[kepler-dev] [Bug 4547] documentation for file parameter includes an error

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Sun Jan 10 23:03:56 PST 2010


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

Christopher Brooks <cxh at eecs.berkeley.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Christopher Brooks <cxh at eecs.berkeley.edu> 2010-01-10 23:03:55 PST ---
Fixed. Changed DocAttribute.description from a StringParameter to a
StringAttribute so that Kepler does not report errors when displaying
documentation.  It is unclear why this fails for Kepler, but works for Ptolemy.
 An addition to moml.filter.PropertyClassChanges filters for this change. 
Fortunately, only three demos required changes. 

ptolemy/domains/de/demo/Clock/Clock.xml
ptolemy/domains/modal/demo/Case/Case.xml
ptolemy/actor/lib/hoc/demo/Case/Case.xml

The changed Java files were:
ptolemy/vergil/basic/KeplerDocumentationAttribute.java
ptolemy/vergil/basic/DocAttribute.java
ptolemy/vergil/actor/DocManager.java
ptolemy/moml/filter/PropertyClassChanges.java


Note that this change means that models that have DocAttributes with the
description parameter set will be marked as modified by the filter.
Thus, the user will be prompted for save on close.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list