Skip to content

Commit

Permalink
dbeaver/dbeaver-vscode#7 Driver downloads API
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-rider committed Nov 12, 2024
1 parent a779a0e commit 61b274b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ type DriverInfo {

configurationTypes: [DriverConfigurationType]!

driverInstalled: Boolean!
driverLibraries: [DriverLibraryInfo!]!
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,11 @@ public WebDriverLibraryInfo[] getDriverLibraries() {
.toArray(WebDriverLibraryInfo[]::new);
}

@Property
public boolean isDriverInstalled() {
return driver.needsExternalDependencies();
}

@Property
public boolean getUseCustomPage() {
return !ArrayUtils.isEmpty(driver.getMainPropertyDescriptors());
Expand Down

0 comments on commit 61b274b

Please sign in to comment.