use of org.netxms.ui.eclipse.networkmaps.dialogs.DataSourceEditDlg in project netxms by netxms.
the class DCIContainerDataSources method editItem.
/**
* Edit selected item
*/
private void editItem() {
IStructuredSelection selection = (IStructuredSelection) viewer.getSelection();
SingleDciConfig dci = (SingleDciConfig) selection.getFirstElement();
if (dci == null)
return;
DataSourceEditDlg dlg = new DataSourceEditDlg(getShell(), dci);
if (dlg.open() == Window.OK) {
viewer.update(dci, null);
}
}
use of org.netxms.ui.eclipse.networkmaps.dialogs.DataSourceEditDlg in project netxms by netxms.
the class LinkDataSources method editItem.
/**
* Edit selected item
*/
private void editItem() {
IStructuredSelection selection = (IStructuredSelection) viewer.getSelection();
SingleDciConfig dci = (SingleDciConfig) selection.getFirstElement();
if (dci == null)
return;
DataSourceEditDlg dlg = new DataSourceEditDlg(getShell(), dci);
if (dlg.open() == Window.OK) {
viewer.update(dci, null);
}
}
Aggregations