See here for how to extend Groovy-Eclipse to support domain specific languages. After reading the article, download the extension example, which is a plugin project to be added to your Eclipse development workspace and the extension example runtime project, which should be imported into your runtime workspace.