Hy Tom, I had a shot on this with a different solution:
See EclipseMagazin 2.2013 - i created a bundle adding a new URL Handler, namely icon:// were I could use static allocations like icon://PERSON which worked out quite well! It is extended with a fragment, which allows for easy exchange of the complete icon set for the whole application. I think this approach could be extended to create an AddOn managing all icons, allowing to address them icon:// style! Thanks, marco An 23. Jänner 2014 at 09:27:54, Tom Schindl ([email protected]) schrieb: > > Hi, > > While reading an article from Marc Teufel on an Eclipse 4 application > it > reminded me of something I wanted to purpose since some time already > (I > also saw a bug flying by to allow one to control the icons via CSS!). > > Anyways here we go. The idea is fairly simple and already known > from 3.x > where one can use a fixed set of variables in the image paths. > > I'd like to extend this to use all variables of the IEclipseContext > so > one can write an image URL like this: > > platform:/plugin/icons/${themeId}/${enabled}/img.png > > What do you think, does this make sense? > > Tom > _______________________________________________ > e4-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/e4-dev > _______________________________________________ e4-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/e4-dev
