A set of methods to implement for plugins to be recognized as icon enabled.
We cannot define getIcon() as this is used all over the code in various
forms (static, non-static, public, private).
Hence we define a more generic getter that additionally allows to define
the dimension wanted.