Bug #3135
closed
semantic type and class params need special handling in doc window
Added by Chad Berkley almost 17 years ago.
Updated over 16 years ago.
Description
When a documentation window opens, it needs to be made aware that the SemanticType and class attributes of an actor should not be displayed like other params. The class is already displayed, so it should be omitted and the SemanticType should have the actual type displayed.
To see this, right click on an actor, view the documentation, the scroll down to the parameter section.
Fixed this by adding an exclusion list to the configuration. the docviewer can now take a list of attribute names not display. this is defined in the configuration. the exclusion properties take this form:
<property name="docViewerExclude0"
class="ptolemy.kernel.util.StringAttribute"
value="contains:semanticType"/>
<property name="docViewerExclude1"
class="ptolemy.kernel.util.StringAttribute"
value="exact:class"/>
the value can be prefixed with "exact" or "contains". exact requires the name of the property to exactly match that of the excludes property. contains just requires the exclude property value to be contained in the name of the parameter.
Original Bugzilla ID was 3135
Also available in: Atom
PDF