This is the developer-oriented FAQ for NetBeans IDE 4.x, 5.x, and 6.x. Developer in this context means "person writing NetBeans extension modules (plug-ins), or applications based on the NetBeans platform". Don't see your developer-oriented question here? Ask on dev@openide.netbeans.org (subscribe to post). Not writing modules? See the list of other FAQs.
For offline use, you can also download the entire FAQ as a giant HTML file. (Automatically refreshed daily.)
Here's How To Add FAQ Entries. One Big Important Thing about adding developer FAQ entries: If they don't start with "DevFaq" they are not going to get indexed properly. Please add items, but please follow this simple guideline.
The following applies only to NetBeans 6.0 and 6.1. See Java_DevelopersGuide for details.
Create a new file and set its contents to something?
I added a bunch of cookies to my data object, but still things like Open are not on the context menu.
Listen to renames, deletes, creations, modifies, saves of files?
What is a "data object representation class" anyway?
How to capture double-click on a node to do something else? What about when a template is instantiated?
How do I tell when a piece of source code has been modified by the user?
Can I add templates from my module? What is the easiest way to do this?
What is the relationship between EditorCookie, StyledDocument, and NbDocument & EditorSupport?
Save, rename a file?
How can i show and hide menu items depending on condition?
| Doc1.docx | ![]() |
170804 bytes |
| faq.html.gz | ![]() |
141505 bytes |