Apache NetBeans Wiki Index

Note: These pages are being reviewed.

How do I add an action to my custom node type ?

Override the public Action getActions(boolean context) method of your node (99% of the time you can ignore the boolean parameter).

If this node is really a DataNode for your own file type, instead see DevFaqActionAddFileMime.

See also:

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/DevFaqActionAddDataObject , that was last modified by NetBeans user Admin on 2009-11-06T15:33:35Z.

NOTE: This document was automatically converted to the AsciiDoc format on 2018-02-07, and needs to be reviewed.