Hi,
at the moment I try to give my actions some nice looking icons.
I see two ways to do so:
into the plugin.xml with the attribute "icon" or over the constructor of my
action or the update()-method.
Now my question:
How should I handle the icons?
- Where shall I place them? (icons.jar seems to be the right position for
"centralized" placement. But seems not very usefull for plugins..)
In the update-methods or constructor I may read them from wherever I want,
but I would like to know the "correct" way, that is compatible with the
plugin.xml?
Thanks,
Johannes Schneider
Hello Johannes,
IDEA loads icons fron the classpath. Therefore you need to include your icons
into the plugin classpath and they should be successfully loaded.
Best regards,
Vladimir Kondratyev
___________________________________________
IntelliJ Software, "Develop with pleasure"
Johannes Schneider wrote:
Hi,
at the moment I try to give my actions some nice looking icons.
I see two ways to do so:
into the plugin.xml with the attribute "icon" or over the constructor of my
action or the update()-method.
Now my question:
How should I handle the icons?
- Where shall I place them? (icons.jar seems to be the right position for
"centralized" placement. But seems not very usefull for plugins..)
In the update-methods or constructor I may read them from wherever I want,
but I would like to know the "correct" way, that is compatible with the
plugin.xml?
Thanks,
Johannes Schneider