## Editing an XML Layer File

See Also

When editing an XML layer file, you can use code completion (Ctr-Space) in the Source Editor. Alternatively, you can use nodes in a tree view—each node represents an item that a module makes available to the system.

To edit an XML layer file:

1. In the Projects window, expand the Important Files node.
2. Expand the XML Layer node. After a moment, two subnodes appear:
   - <this layer>. The folders and files provided by the current module project's layer file.
   - <this layer in context>. All the folders and files provided by all the layer files in all modules available in the system.
3. Expand a subnode to explore the folders and files within it. When you right-click a subnode, you can, for example, rename it. You can also use actions such as "Cut", "Copy", and "Paste". In addition, you can drag a subnode and drop it elsewhere, to reorder a folder or a file. All of these actions will result in XML entries being added to your module project's layer file.

See Also
  About the NetBeans Platform
  About the NetBeans APIs
  About NetBeans Platform and Module Development
  About XML Layer Files
  Working with Modules
  Module Tasks: Quick Reference

Legal Notices