public static void main(String[] args) {
		Display display = new Display();
		Shell shell = new Shell(display);
		shell.setLayout(new GridLayout(1, false));

		new TabsDialog(shell, 
				workbenchParts("Editor One", "Editor Two", "Editor Three"), 
				workbenchParts("View One", "View Two", "View Three"), workbenchPartReference("Editor One")).open();

		shell.setText("Main Shell");
		shell.pack();
		shell.open();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch())
				display.sleep();
		}
		display.dispose();
	}