getServiceRibbonControl ();
The getServiceRibbonControl method returns the Tools button in main menu.
Executing the example requires that the page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Hide the Tools button in main menu:
serviceButton = expressBox.getRibbonView().getServiceRibbonControl(); serviceButton.hide();
After executing the example the Tools button in main menu is hidden.
See also: