I have an Eclipse plugin editor (now running on Kepler), and I want to use dependency injection to get contexts such as workbench, logger, etc'. My purpose is to make my code "more testable".
I assume you are mainly interested in the dependency mechanisms of the Eclipse 4 workbench. I recommend these tutorials and articles for an introduction:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.