提交 9a57995b 编写于 作者: J jurgen

Maven artifact update

上级 f639a3b7
......@@ -45,6 +45,7 @@ public class DriverDownloadDialog extends WizardDialog
DriverDownloadDialog(Shell shell, DriverDescriptor driver, List<DriverFileDescriptor> files, boolean forceDownload)
{
super(shell, new DriverDownloadWizard(driver, files, forceDownload));
getWizard().init(DBeaverUI.getActiveWorkbenchWindow().getWorkbench(), null);
}
DriverDescriptor getDriver() {
......
......@@ -47,16 +47,11 @@ class DriverDownloadManualPage extends DriverDownloadPage {
Composite composite = UIUtils.createPlaceholder(parent, 1);
composite.setLayoutData(new GridData(GridData.FILL_BOTH));
StringBuilder message = new StringBuilder();
message.append("").append(driver.getFullName());
message.append(" driver files missing.\n\n" +
"According to vendor policy this driver isn't publicly available and you have to download it manually from vendor's web site.\n\n" +
"After successful driver download you will need to add JAR files in DBeaver libraries list.");
Text infoText = new Text(composite, SWT.MULTI | SWT.READ_ONLY | SWT.WRAP);
infoText.setText(message.toString());
infoText.setText(driver.getFullName() + " driver files missing.\n\n" +
"According to vendor policy this driver isn't publicly available\nand you have to download it manually from vendor's web site.\n\n" +
"After successful driver download you will need to add JAR files in DBeaver libraries list.");
GridData gd = new GridData(GridData.FILL_HORIZONTAL);
gd.widthHint = 200;
infoText.setLayoutData(gd);
Group filesGroup = UIUtils.createControlGroup(composite, "Driver files", 1, -1, -1);
......
......@@ -80,7 +80,7 @@ public class DriverDownloadWizard extends Wizard implements IExportWizard {
@Override
public void init(IWorkbench workbench, IStructuredSelection currentSelection) {
setWindowTitle("Driver settings");
setNeedsProgressMonitor(true);
setNeedsProgressMonitor(hasPredefinedFiles());
setHelpAvailable(true);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册