use of org.netxms.client.snmp.SnmpObjectId in project netxms by netxms.
the class MibSelectionDialog method onMibTreeSelectionChanged.
/**
* Handler for selection change in MIB tree
*/
private void onMibTreeSelectionChanged() {
MibObject object = mibTree.getSelection();
if ((object != null) && updateObjectId) {
SnmpObjectId objectId = object.getObjectId();
// $NON-NLS-1$
oid.setText((objectId != null) ? objectId.toString() : "");
}
details.setObject(object);
}
Aggregations