enhancement
Currently, it is possible to create a dialog title using various resource keys. However, there is no way to display, for example, the name of the dialog's model.
This should be possible.
Usage
In the dialog configuration (<dialogInfo>), the title property can be used to configure a `tl:com.top_logic.layout.component.title.TitleProvider`, which calculates the title for the open dialog. This can be, for example, a control and thus respond to user interaction.
For example, `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 value calculated from it in the title.
Test
- In the demo, navigate to Technical Demo > Layout Framework #1 > Dialogs.
- Open the "Dynamic Layout" dialog
- Change the layout to be displayed.
- Expected Result: The dialog title displays the selected layout.