DevFaqHideRemoveToolbarMenu

(Difference between revisions)
(How do I hide/remove default toolbar buttons and/or menu items?)
(How do I hide/remove default toolbar buttons and/or menu items?)
Line 6: Line 6:
Alternatively, if you know the applicable names of folders or files, add the information to the layer.xml file yourself, e.g:
Alternatively, if you know the applicable names of folders or files, add the information to the layer.xml file yourself, e.g:
 +
<source lang="xml">
<folder name="Menu">
<folder name="Menu">
     <folder name="File">
     <folder name="File">
Line 11: Line 12:
     </folder>
     </folder>
</folder>
</folder>
 +
</source>

Revision as of 16:56, 6 January 2016

How do I hide/remove default toolbar buttons and/or menu items?

Create a layer.xml file in a NetBeans module, expand it, find the item you want to remove, right-click on it, choose Delete. The _hidden tag for the layer folder or file will be added to your layer.xml file.

Alternatively, if you know the applicable names of folders or files, add the information to the layer.xml file yourself, e.g:

<folder name="Menu">
    <folder name="File">
        <file name="org-netbeans-modules-project-ui-NewFile.shadow_hidden"/>
    </folder>
</folder>
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo