Added ability to override int switches used for SWT tree.