Code examples from "Eclipse Plug-ins: Third Edition" by Clayberg and Rubel