use of org.jkiss.dbeaver.ui.dialogs.connection.ClientHomesPanel in project dbeaver by dbeaver.
the class DriverEditDialog method createClientHomesTab.
private void createClientHomesTab(TabFolder group) {
clientHomesPanel = new ClientHomesPanel(group, SWT.NONE);
clientHomesPanel.setLayoutData(new GridData(GridData.FILL_BOTH));
TabItem paramsTab = new TabItem(group, SWT.NONE);
paramsTab.setText(UIConnectionMessages.dialog_edit_driver_tab_name_client_homes);
paramsTab.setToolTipText(UIConnectionMessages.dialog_edit_driver_tab_name_client_homes);
paramsTab.setControl(clientHomesPanel);
group.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
if (e.item == paramsTab) {
clientHomesPanel.loadHomes(driver);
group.removeSelectionListener(this);
}
}
});
}
use of org.jkiss.dbeaver.ui.dialogs.connection.ClientHomesPanel in project dbeaver by serge-rider.
the class DriverEditDialog method createClientHomesTab.
private void createClientHomesTab(TabFolder group) {
clientHomesPanel = new ClientHomesPanel(group, SWT.NONE);
clientHomesPanel.setLayoutData(new GridData(GridData.FILL_BOTH));
TabItem paramsTab = new TabItem(group, SWT.NONE);
paramsTab.setText(UIConnectionMessages.dialog_edit_driver_tab_name_client_homes);
paramsTab.setToolTipText(UIConnectionMessages.dialog_edit_driver_tab_name_client_homes);
paramsTab.setControl(clientHomesPanel);
group.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
if (e.item == paramsTab) {
clientHomesPanel.loadHomes(driver);
group.removeSelectionListener(this);
}
}
});
}
Aggregations