Note: These pages are being reviewed.
How do I get a DataObject for a Node?
DataObject dob = (DataObject) theNode.getLookup().lookup (DataObject.class);
if (dob != null) {
//do something
}
Apache Migration Information
The content in this page was kindly donated by Oracle Corp. to the Apache Software Foundation.
This page was exported from http://wiki.netbeans.org/DevFaqDataObjectNode , that was last modified by NetBeans user Admin on 2009-11-06T15:38:59Z.
NOTE: This document was automatically converted to the AsciiDoc format on 2018-02-07, and needs to be reviewed.