Create configurations when selecting re-exposed features

Issue #370 resolved
Cécile Camillieri created an issue

This task is to create the COREReuseConfigurations containing information on reexposed features that have been selected or de-reexposed in a new reuse. This configuration will then be passed to the weaver and impact model evaluator.

The configuration remains the same as before, except if there are re-exposed features in nested reuses. In that case, a hierarchy of extended configurations will be created, containing the new selections made for the nested reuses.

Issues of note:

  • SelectionSingleton should handle correctly the fact that the same concern can be reused mutliple times.
  • If for a selected feature, every child feature except one is de-reexposed in an OR/XOR relationship, the remaining re-exposed feature should be automatically selected.
  • Display constraints coming from re-exposed features. This may be tricky because if we reuse the same concern twice, we may want to display the constraint twice as well, or we won't know for which reuse the constraint is violated. Maybe to fix this we can just highlight clashing features when clicking on a violated constraint.

Comments (8)

  1. Log in to comment