theDataObject.getNodeDelegate()

Source: NetBeans FAQ