sample pattern for briding web world to SWT world