public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
try {
setTabs(new ILaunchConfigurationTab[] {
new JsTestDriverLaunchTab(ServiceLocator.getExtensionPoint(
JsTestDriverConfigurationProvider.class,
JsTestDriverConfigurationProvider.class.getName())), new CommonTab()});
} catch (CoreException e) {
IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.toString());
ErrorDialog.openError(Display.getCurrent().getActiveShell(), "JS Test Driver",
"JsTestDriver Error", status);
}