Enhancement
Currently it is possible to create a dialog title via different resource keys. But there is no possibility to display e.g. the name of the model of the dialog.
This should be possible.
Application
In the configuration of the dialog(<dialogInfo>) a tl:com.top_logic.layout.component. title.TitleProvider can be configured via the property title, which calculates the title for the opened dialog. This can be e.g. a control and thus react on user interaction.
E.g. tl:com.top_logic.layout.component.title.ModelTitle or tl:com.top_logic.model.search.providers.TitleByExpression can be used to display the current model or a calculated value in the title.
Test
- In the demo, go to Technical Demo > Layout Framework #1 > Dialogs.
- Open the Dynamic Layout dialog
- Change the layout to be displayed.
- Expectation: The title of the dialog shows the selected layout.