archi-contribs / specialization-plugin

Plugin for Archi to specialize concepts (figure, icon...)
Other
29 stars 2 forks source link

Support for more element types #48

Closed evlibra closed 3 years ago

evlibra commented 3 years ago

Why "replace icon" cant be available for all element types? It would be good to add it at least for Representation and Dataobject. Thanks.

herve91 commented 3 years ago

I can replace icons of Archi elements that have got one. Those that haven't got an icon at all cannot be changed.

jbsarrodie commented 3 years ago

Hi,

FYI, Phil and I are working on native support for custom icons. This should be added in Archi in the next 3-6 months.

Here's an example of what could be done:

herve91 commented 3 years ago

Hi JB,

I'm impressed ... This looks very nice ... As always :-)

My specialization plugin won't be necessary anymore, even the version 2 (that I started but never had time to develop it) :-)

jbsarrodie commented 3 years ago

I'm impressed ... This looks very nice ... As always :-)

Well, all credits for you. This will mostly be re-implementation of your plugin. Of course with a better intergration and some small additions, but you did it first ;-)

evlibra commented 3 years ago

That is great news. Would it be compatible with models created using specialization plugin? E.g. able to show icons which used to be created earlier using the plugin. Thanks.

jbsarrodie commented 3 years ago

That is great news. Would it be compatible with models created using specialization plugin? E.g. able to show icons which used to be created earlier using the plugin. Thanks.

It won't be possible because Herve uses a property, meaning that icon is always use once defined, while we'll set it at the view level like any appearance attribute.