use of org.jkiss.dbeaver.registry.driver.DriverDependencies in project dbeaver by dbeaver.
the class DriverLibraryDetailsDialog method createDependenciesTab.
private void createDependenciesTab(TabFolder tabs) {
Composite paramsGroup = new Composite(tabs, SWT.NONE);
paramsGroup.setLayout(new GridLayout(1, false));
final Set<DBPDriverLibrary> libList = Collections.singleton(library);
DriverDependencies dependencies = new DriverDependencies(libList);
final DriverDependenciesTree depsTree = new DriverDependenciesTree(paramsGroup, DBeaverUI.getDefaultRunnableContext(), dependencies, driver, libList, false);
depsTree.resolveLibraries();
DBeaverUI.asyncExec(new Runnable() {
@Override
public void run() {
depsTree.resizeTree();
}
});
TabItem depsTab = new TabItem(tabs, SWT.NONE);
depsTab.setText(CoreMessages.dialog_edit_driver_tab_depencencies);
depsTab.setToolTipText(CoreMessages.dialog_edit_driver_tab_depencencies_tooltip);
depsTab.setControl(paramsGroup);
}
use of org.jkiss.dbeaver.registry.driver.DriverDependencies in project dbeaver by serge-rider.
the class DriverLibraryDetailsDialog method createDependenciesTab.
private void createDependenciesTab(TabFolder tabs) {
Composite paramsGroup = new Composite(tabs, SWT.NONE);
paramsGroup.setLayout(new GridLayout(1, false));
final Set<DBPDriverLibrary> libList = Collections.singleton(library);
DriverDependencies dependencies = new DriverDependencies(libList);
final DriverDependenciesTree depsTree = new DriverDependenciesTree(paramsGroup, UIUtils.getDefaultRunnableContext(), dependencies, driver, libList, false);
depsTree.resolveLibraries();
UIUtils.asyncExec(new Runnable() {
@Override
public void run() {
depsTree.resizeTree();
}
});
TabItem depsTab = new TabItem(tabs, SWT.NONE);
depsTab.setText(UIConnectionMessages.dialog_edit_driver_tab_depencencies);
depsTab.setToolTipText(UIConnectionMessages.dialog_edit_driver_tab_depencencies_tooltip);
depsTab.setControl(paramsGroup);
}
Aggregations