archi-contribs / specialization-plugin

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

Custom icons not showing up #2

Closed ghost closed 6 years ago

ghost commented 6 years ago

I followed the instructions (plugin installation, model setup, icon images copied to plugins/com.archimate.../img/mydirectory ) but icons are not showing up

Enabling the plugin traces gives :

` ! 2017-11-03 20:33:00 INFO 144:SpecializationPlugin - Initialising SpecializationPlugin plugin ...

2017-11-03 20:33:00 INFO 146:SpecializationPlugin - ===============================================

2017-11-03 20:33:00 INFO 196:SpecializationPlugin - Specialization plugin v0.2 initialized.

tail: /home/xxx/SpecializationPlugin.log : fichier tronqué `

Icon is attached

rect

rich-biker commented 6 years ago

Are you also creating the property called 'icon' for each shape where you want to use it, with the value of 'img/mydirectory/iconname.png'

The suffix is sometimes necessary, I've found.

herve91 commented 6 years ago

Hi,

I've been communicating with Ubibene using emails and forgot to summarize the status here. Sorry about that.

Ubibene was trying to put an icon on data objects. The point is that this object does not have any icon, it just has got an horizontal line across its shape.

My plugin is able to replace existing icons, not add icons on objects that do not have any so at the moment it cannot put any icon on data objects.

As for the log file, he was not in trace mode. That's the reason why the log file did not contain any message after the initialization.

I close this issue.

ghost commented 6 years ago

as a matter of fact, the problem does exist with other kinds of archimate objects (application components, , nodes, ....) on

herve91 commented 6 years ago

Hi Ubibene,

I just installed a fresh Linux Mint 18.2 (64bit) with the default jre, and the icons work as expected.

but I did not see java-1.8.0-openjdk-amd64 in the available package list

grv87 commented 4 years ago

@herve91, no new ideas on this issue?

Maybe this is just my use case, but I have much more artifacts and data objects that anything else. So they could benefit most from having icons to distinguish by types.