'This method is called once when the viewer is created. Use it to make
any customizations you want to the viewer\'s user interface. For
example, you can modify the toolbars via ui.tool_bar and ui.tool_bar2.'

def customize_ui(self, ui):

    pass
