The GMF Tooling project provides a model-driven approach to generating graphical editors in Eclipse.