Tree Window

The Tree Window is located to the left of the Application Window. It consists of folders which can contain sub folders and nodes. In general, a node represents a ReqIF object such as a SpecObject or an AttributeValue. These are all sub types of the base type Identifiable. It can also represent a non-ReqIF node such as a Difference Analysis Report or an Exchange Process Timeline.

 

Most ReqIF objects are Identifiables that contain the following properties:

 

  • identifier (required)
  • longName
  • desc
  • alternativeID
  • lastChange (required)

 

Others like AttributeValue are not represented in this way. Instead, they are identified by the theValue property.

 

Display Text for ReqIF Nodes

REQIFtoolkit will try to find a label for a node in the tree window from the information contained in the ReqIF object. For Identifiables, the label is constructed using this rules:

 

  • If the longName property is specified and non-blank - display it, otherwise display the text <unnamed>@identifier

 

More specifically, for an Identifiable that is also a SpecElementWithAttributes i.e., SpecObject, SpecRelation and Specification, the above rule is overridden by these rules:

 

  • If the ReqIF.ChapterName AttributeValue exists and is non blank, display its text
  • Otherwise, if the ReqIF.Text AttributeValue exists and is not blank, display its text