major
nice-to-have
minor
#25217
Layout-Export führt zu invaliden Komponenten-Referenzen bei Referenzierung einer bestehenden Komponente
#25327
Modell-Editor: Falsche Kompositionsmarker, wenn Container-Typ in Diagramm von Content-Typ gezogen wird
enhancement
Currently, there is a tl:BookmarkFactory that creates a bookmark for objects. This can be overridden to add additional identifying characteristics.
If bookmarks are to be created for different types, this cannot be done in a modular way.
Implementation
A `tl:BookmarkService` has been introduced that maintains a mapping of `TLType`s to the `BookmarkHandler`, which can create a bookmark for objects of that type. Additionally, a "default" handler can be configured to be used for all other types.
<application><services>
<config service-class="com.top_logic.tool.boundsec.commandhandlers.BookmarkService">
<instance>
<default-bookmark-handler class="DefaultHandler"/>
<bookmark-handlers>
<bookmark-handler type="myModule:type1" impl="Handler1"/>
<bookmark-handler type="myModule:type2" impl="Handler2"/>
</bookmark-handlers>
</instance>
</config>
</services></application>
Test
In the demo, bookmarks can be set for DemoType:A objects, and the links within the documentation are navigable (also handled via bookmarks).