Enhancement
Detail
#27365
Select default selection based on the last (current) selection
With #26365 a mechanism was introduced with which the default selection of a selection component can be customized (see com.top_logic.layout.component.ListSelectionProvider.computeDefaultSelection(...)).
Improvement
When selecting a new default selection (e.g. after a model change), the last (old) selection should be included in the selection of the new default selection. If the possible selections are only technically different (e.g. represent different historical statuses), the user can pretend that a selection has been retained after a model change.
Test
- com.top_logic.demo/src/test/java/test/com/top_logic/demo/scripted/layout/selector/TestKeepSelectionOverModelChange.script.xml