You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked that this bug has not yet been reported by someone else
I have checked that this bug appears on Chrome
I have specified the version :
other: 0.5.3
I have specified my environment :
Ubuntu 20.04 LTS
Screenshots
Sirius Desktop automatically generated icons for each object in the metamodel. They are in the .edit package, in the icons/full/obj16 directory. I have modified those icons. They are correctly shown in the model tree in Sirius Desktop:
When using that model in Sirius Web, it still loads the same default icons:
The URLs for those images returned in the treeEvent subscription are:
/api/images/icons/full/obj16/Item.gif#UnitCall
whereas they should be:
/api/images/icons/full/obj16/UnitCall.gif
as is also defined in the corresponding *ItemProvider class in the .edit package:
Change the default icons generated for metamodel objects
Expected behavior
Those new icons are used in Sirius Web.
Actual behavior
The same old icon is used for objects in Sirius Web. The new images are not used. The URL contains the object name as a hash instead of the gif file name.
The text was updated successfully, but these errors were encountered:
Customize the images used as icons for objects in the model tree.
The icons are only used in Sirius Desktop. Sirius Web does not load
them.
See eclipse-sirius/sirius-web#866
Related to #23
it seems you registered the "basic" CALAdapterFactory in the application configuration, instead of the CALItemProviderAdapterFactory from your .edit project.
Screenshots
Sirius Desktop automatically generated icons for each object in the metamodel. They are in the
.edit
package, in theicons/full/obj16
directory. I have modified those icons. They are correctly shown in the model tree in Sirius Desktop:When using that model in Sirius Web, it still loads the same default icons:
The URLs for those images returned in the
treeEvent
subscription are:whereas they should be:
as is also defined in the corresponding
*ItemProvider
class in the.edit
package:https://github.com/Gelio/CAL-web/blob/a8fc6c6860e810948ab42d354255149229a5bc81/backend/model/eu.balticlsc.model.CAL.edit/src-gen/eu/balticlsc/model/CAL/provider/UnitCallItemProvider.java#L168
Steps to reproduce
Expected behavior
Those new icons are used in Sirius Web.
Actual behavior
The same old icon is used for objects in Sirius Web. The new images are not used. The URL contains the object name as a hash instead of the gif file name.
The text was updated successfully, but these errors were encountered: