To view the elements that were part of the concern model but that no longer exist in the Java model,
Select Show Inconsistent Elements
in the ConcernMapper view's toolbar menu. Inconsistent elements
are identified with a warning symbol.
To hide the inconsistent elements, uncheck Show Inconsistent Elements
.
Inconsistent elements have most of the same properties as normal concern elements. It is possible to delete them, reorganize them, filter them, and change their degree in the same way as for normal concern elements.
The Show Inconsistent Elements
action toggles between two states:
Showing inconsistencies is disabled.
Only elements that exist in the Java model are shown in the view.
Inconsistent elements are hidden from the user.
Showing inconsistencies is enabled.
All elements that have been added to the concern model are shown, whether they exist in the Java model or not.
Elements that do not exist in the Java model are indicated by an icon.
Deletions
A concern element or the parent of a concern element is deleted from the Java model.
If showing inconsistencies is disabled.
The concern element is removed from the concern model.
The concern element is set as inconsistent.
It is removed from the view.
The dirty flag becomes true.
If showing inconsistencies is enabled.
The concern element is removed from the concern model
The concern element is set as inconsistent.
It is kept displayed in the view.
The view is refreshed to indicate that the element doesn't exist.
The dirty flag becomes true.
Additions
An element that was previously inconsistent is added to the Java model.
Showing inconsistencies is disabled
The element is added to the concern model
It appears in the view.
The dirty flag becomes true.
Showing inconsistencies is enabled.
The view is updated to indicate that the element exists.
The dirty flag becomes true.
Changes
The modifiers of a field or a method that is part of the concern model are changed.
The view is refreshed to show the new characteristics of the element.
The dirty flag becomes true.
There are inconsistent elements in the model.
The inconsistent elements are saved as normal concern elements.
Deletions
A concern element does not exist in the Java model.
Showing inconsistent elements is disabled.
The concern element is set as inconsistent.
It is not displayed in the view.
The dirty flag remains false.
Showing inconsistent elements is enabled.
The concern element is set as inconsistent.
It is displayed in the view with an icon indicating that it does not exist.
The dirty flag remains false.
The concern element is set as inconsistent.
It is displayed in the view with an icon indicating that it does not exist.
It is displayed as a child node of the concern instead of a child node of it's parent type.
It is labeled with its fully qualified name.
The dirty flag remains false.
Additions
An inconsistent element now exist in the Java model.
The element exists as-is in the model.
The element is restored to the concern model.
It is displayed in the view.
The dirty flag remains false.
Changes
The modifiers of a field or method that is part of the concern model have been changed.
The view shows the appropriate modifiers.
The dirty flag remains false.