copy of the: http://svn.groovy.codehaus.org/browse/groovy/trunk/groovy/modules/groovy-swt