use of org.netxms.ui.eclipse.datacollection.dialogs.SelectNodeDciDialog in project netxms by netxms.
the class IdMatchingDialog method mapDci.
/**
* Map DCI
*
* @param data
*/
private void mapDci(DciIdMatchingData data) {
if (data.dstNodeId == 0)
return;
SelectNodeDciDialog dlg = new SelectNodeDciDialog(getShell(), data.dstNodeId);
if (dlg.open() == Window.OK) {
DciValue v = dlg.getSelection();
if (v != null) {
data.dstDciId = v.getId();
data.dstName = v.getDescription();
viewer.update(data, null);
}
}
}
Aggregations