properties.setBaseProperties(props);
Shell shell = PlatformUI.getWorkbench().getModalDialogShellProvider().getShell();
if (shell != null) {
DriverDialog jdbcDriverDialog = new DriverDialog(shell, driverTemplate.getParentCategory());
jdbcDriverDialog.setPropertySet(properties);
jdbcDriverDialog.setEditMode(true);
jdbcDriverDialog.setIsEditable(true);
if (jdbcDriverDialog.open() == Window.OK) {
properties = jdbcDriverDialog.getPropertySet();
if (properties != null) {
DriverManager.getInstance().addDriverInstance(properties);
driverInstance = DriverManager.getInstance().getDriverInstanceByName(
descriptor.getDriverName());