|'branding' at run time [message #490630]
||Fri, 09 October 2009 09:32
Registered: July 2009
I have a set of plugins that can be shipped in several different
products. I want to change the images/icons that are used by the plugins
based on the product that the plugin is shipped with (and without having
to have a different build of the plugin).
For example, one of my plugins defines a view:
In this example, the view16x16.gif is supplied in the icons/ directory
plugin. However, I'd like to ship all the icons in the branding plugin
and pick them up from there. However, I don't want to hard-code the name
of the branding plugin.
Thus, when the branding is "ProductA" I'd like it to select
ProductA/icons/view16x16.gif, but if the branding is ProductB, I'd like
it to select ProductB/icons/view16x16.
So, I'd like to use something like
Is something like this possible? I need to do it for views, menus,
toolbars etc. I'm happy to write code to do it, if that is possible...
Powered by FUDForum
. Page generated in 0.01372 seconds