use of org.jkiss.dbeaver.ui.dialogs.connection.ConnectionPropertiesControl in project dbeaver by dbeaver.
the class DriverEditDialog method createConnectionPropertiesTab.
private void createConnectionPropertiesTab(TabFolder group) {
Composite paramsGroup = new Composite(group, SWT.NONE);
paramsGroup.setLayout(new GridLayout(1, false));
connectionPropertiesEditor = new ConnectionPropertiesControl(paramsGroup, SWT.BORDER);
connectionPropertySource = connectionPropertiesEditor.makeProperties(driver, driver.getConnectionProperties());
connectionPropertiesEditor.loadProperties(connectionPropertySource);
TabItem paramsTab = new TabItem(group, SWT.NONE);
paramsTab.setText(UIConnectionMessages.dialog_edit_driver_tab_name_connection_properties);
paramsTab.setToolTipText(UIConnectionMessages.dialog_edit_driver_tab_tooltip_connection_properties);
paramsTab.setControl(paramsGroup);
}
use of org.jkiss.dbeaver.ui.dialogs.connection.ConnectionPropertiesControl in project dbeaver by serge-rider.
the class DriverEditDialog method createConnectionPropertiesTab.
private void createConnectionPropertiesTab(TabFolder group) {
Composite paramsGroup = new Composite(group, SWT.NONE);
paramsGroup.setLayout(new GridLayout(1, false));
connectionPropertiesEditor = new ConnectionPropertiesControl(paramsGroup, SWT.BORDER);
connectionPropertySource = connectionPropertiesEditor.makeProperties(driver, driver.getConnectionProperties());
connectionPropertiesEditor.loadProperties(connectionPropertySource);
TabItem paramsTab = new TabItem(group, SWT.NONE);
paramsTab.setText(UIConnectionMessages.dialog_edit_driver_tab_name_connection_properties);
paramsTab.setToolTipText(UIConnectionMessages.dialog_edit_driver_tab_tooltip_connection_properties);
paramsTab.setControl(paramsGroup);
}
Aggregations