I suggest you make a PR where that action becomes a real action
registered in the layer which you can then hide.

In the mean time you could either keep your in-house fork of NetBeans
Platform and fix that or you could use reflection and hack the static
ToolbarConfiguration.toolbarMenu and see if removing the item there is
sufficient for your needs.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Mon, Dec 10, 2018 at 3:41 PM Daniel Hartman
<dh_from...@yahoo.com.invalid> wrote:
>
> Is there a way to hide the "Customize" menu item that appears under "View -> 
> Toolbars" for an application built on top of the NetBeans platform?  The 
> "Customize" menu item is added programmatically by the ToolbarConfiguration 
> class in the Core - Windows module.
>
> Thanks in advance for any suggestions.
>
> Dan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to