Table of Contents
|Table of Contents|
LemonTree provides the possibility to filter / sort the Impacted Elements and Impacted Diagrams. A filter expression can be built from multiple logical expression and can be saved for later use. A suggestion list will provide keywords and predefined filters.
Basically, a filter is used to reduce the Impacted Elements and Impacted Diagrams to a specfic set of elements or diagrams. Every element or diagram, which matches a given filter expression will be shown. If an element or diagram is not matched by the filter or is needed for (hierarchical) visualization, the element or diagram will be grayed out.
Note: Also the grouping element "MainState" and "Signals" are shown (grayed out) because they have at least one child element with "Display" in its name.
Show All Diagrams, With Elements That Are Directly Changed (Not Child Modified)
- Before using a filter:
- The filter NOT #ChildModified is applied.
The Activity "main" is no longer matched by the filter. Since its grouping element is matching the filter, it is still displayed grayed out.
- The flag $OnlyMatchingChildElements is added to the filter expression.
The Activity "main", which was previously grayed out, is now hidden.
- The goal now is to also hide the diagram "Main". It is still displayed because Unmodified equals "NOT ChildModified".
In order to hide the grouping diagram, the expression AND NOT #Unmodified has to be added.
The expression has to be added before the flag $OnlyMatchingChildElements.
Only diagrams with directly changed child elements are displayed.
Final filter: NOT #ChildModified AND NOT #Unmodified $OnlyMatchingChildElements
Hide Elements, Which Were Already Reviewed
- Before the filter:
- Enter the filter "NOT #Reviewed".
The child element of the CallOperation "WriteLL" is grayed out, because it was already reviewed.
- If you want to reduce the list to elements, which were not reviewed, the flag $OnlyMatchingChildElements needs to be added.
The reviewed connector is now hidden.
Final filter: NOT #Reviewed $OnlyMatchingChildElements
Hide Elements, Where Only the DiagramRepresentation Was Modified
- The filter #Modified is already set:
- However, there are two elements which are only modified in their Diagram Representation.
- To hide them, add the flag $HideGraphicalChanges to the end of the filter expression.
The two elements with the graphical modifications are now hidden.