-
Notifications
You must be signed in to change notification settings - Fork 28
Description
In variability editors, there are several locations where the name of a configuration is used for referencing the configuration. E.g., When a sub-configuration is referenced from a parent configuration:
Or for the description of the intention for changing this sub-configuration reference:
Or for the reference to the base configuration in case of extends:
In all these cases, it should be possible to tailor which string is shown as reference (default: the configuration's name). This should be doable using a new method in extension point tailorIETS3Variability. One use case for this would be to show some information from the configuration content in addition to the name, e.g. some rather global configuration option like the market:
Example: For the tailored logic "take the configuration's name and append the selected market feature"...
- a configuration named
ConfigBasicwhere the XOR featureUShas been selected would be referenced asConfigBasic_US - a configuration named
ConfigPremiumwhere the XOR featureUShas been selected would be referenced asConfigPremium_US - a configuration named
ConfigBasicwhere the XOR featureJPhas been selected would be referenced asConfigBasic_JP
Two more requirements should be implemented:
- The duplicate check for configuration names should be configurable via
tailorIETS3Variability: either use the names (as-is) or the tailored names. - If the naming has been tailored via
tailorIETS3Variability, then the tailored name for each configuration should be also shown for the actual configuration, not only for references. Proposal: in grey text font, either in the editor or in the inspector.