Automatically store and update also all external references connected to a reuse element in case of adding/updating the latter
Related to #4125 (closed)
Currently, when adding/updating reuse elements to/in libraries, it will be checked if the reuse element has some external references (e.g. a enumeration that is defined externally in the data dictionary). These references will be displayed to the user.
It would be more comfortable if the external references are automatically added to the library or updated in it (or in the new project if their connected resue element is reused again). For this purpose it is needed that the external references are found (e.g. in the data dictionary), completely stored (with all information) in the same library as the connected reuse element, and there needs to be trace/reference to these stored external references so that they are added/updated at the same time as the connected reuse element (if it is reused again in a new project).
This is connected to #4208 and might get solved together. (Maybe copyToRefMap() can help)