- 
                Notifications
    
You must be signed in to change notification settings  - Fork 54
 
How to add new dialogs and menu functionality
        Antonio Monje edited this page Mar 2, 2016 
        ·
        1 revision
      
    eXe uses the ExtJS interface library. Let's say for example you want to create an item that shows a dialog window;
1. Add to the menu items in eXeToolbar.js - you can follow the format of items already there
2. Make a new Panel javascript in Forms (jsui/scripts/view/forms) - you can look at existing artifacts there
3. Add the new panel to the requires in jsui/app/controller/Toolbar.js
4. Add an event handler to Toolbar.js init function using the id of the button created, reference a function with a sensible name
5. Add a function in Toolbar.js to show the window (e.g. toolsPreferences function)