Project

General

Profile

Actions

Bug #3135

closed

semantic type and class params need special handling in doc window

Added by Chad Berkley about 16 years ago. Updated about 16 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
documentation
Target version:
Start date:
02/05/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3135

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.

Actions #1

Updated by Chad Berkley about 16 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.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 3135

Actions

Also available in: Atom PDF