archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
973 stars 270 forks source link

[Feature Request] ICON on tree to match specialization of object #1080

Open peterprib opened 2 months ago

peterprib commented 2 months ago

Description

The icon shown on tree should reflect the icon associated with the object's specialization.

Phillipus commented 1 month ago

I did try this and the performance in the Models Tree was not good.

We do show a 16x16 icon version of a specialization's image in the right-click context menu of the tree and in the palette. In these cases creation and downsizing of a (potentially large) image to a 16x16 icon is not too resource intensive as these are not converted too many times (show the palette once, show the right-click context menu on few occasions).

However, the Models Tree is constantly being updated and refreshed and there is a noticeable performance hit in creating 16x16 icons on the fly. Also, the tree needs to monitor and update if the user changes the specialization image.

I guess we might add it as an option at some point and see how users get on with it, giving them the option to disable it.

peterprib commented 1 month ago

Great if optional then at least I could choose to by latest greatest risc laptop. I assume y can't make use of WebGL type technology in IDE graphics engine.