SWT interface, refactoring