Bug #3135
closedsemantic type and class params need special handling in doc window
0%
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.
Updated by Chad Berkley almost 17 years ago
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.