I got the answer from the Arbortext support and it might be helpful for others too.
Two ways you can edit the toolbar buttons:
1. Creating a custom directory. In the dialogs directory within, create a file named Toolbar_equation.xml with the following contents:
<?xml version="1.0" encoding="UTF-8"?>
<!--Arbortext, Inc., 1988-2010, v.4002--> <!DOCTYPE window PUBLIC "-//Arbortext//DTD XUI XML 1.1//EN" "xui.dtd" [ <!ENTITY % xuidlgStrings PUBLIC "-//Arbortext//TOOLBAR ENTITIES XUI XML 1.0//EN" "dialogStrings.ent"> %xuidlgStrings; ]> <window> <imagegroup> <image id="imageInsertEquation" path="icons/equation.png"/> </imagegroup> <toolbargroup> <toolbar id="toolbar11" name="Equation" x="128" y="0"> <button command="InsertEquation" id="Toolbar_Equation" image="imageInsertEquation" statustext="Insert an equation element" tiptext="Insert Equation;"> </button> </toolbar> </toolbargroup> </window>
Then add an Acl call somewhere in the user's application:
window_load_component_file(current_window(), 'Toolbar_equation.xml')
Side effects include a new toolbar named "Equation" in the View->Toolbars menu, the tip and status text are not translated.
2. Create a custom directory. In dialogs directory within, place a copy of the Editor lib/dialogs/editwindow.xml file. In this file, add the following markup within the <imagegroup> after the InsertGraphic:
<image id="imageInsertEquation" path="icons/equation.png"/>
Then add the following markup within the <toolbar id="toolbar1"> after the InsertGraphic button:
<button command="InsertEquation" id="Toolbar_Equation" image="imageInsertEquation" statustext="Insert an equation element" tiptext="Insert Equation;"> </button>
Side effects include the status and tip text are not translated.