Apache NetBeans Wiki Index

Note: These pages are being reviewed.

How do I specify the order for my menu items/toolbar buttons/files in the system filesystem?

If you are using module development support the IDE, you can manage the order of menu or toolbar items by the help of special node XML Layer which can be found underneath your Important Files. Just find your menu/toolbar item and drag and drop it wherever you need. Appropriate content in the project metadata (layer file) will be generated for you. If this does not work, or you want to know more, read on.

FileObject`s (DevFaqFileObject) in a folder have no defined order by default. You can use `FileUtil.getOrder to sort them. (DataObject`s (DevFaqDataObject) in a folder are always sorted this way.) The order is determined by numeric `position attributes. For all details, see: FolderOrdering103187

Applies to: NetBeans 6.5 and later

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/DevFaqOrderAttributes , that was last modified by NetBeans user Jglick on 2009-12-03T14:01:08Z.

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