Initial implementation of SWT generator