Added mouse listeners to the various table viewers to ensure the correct
editor is displayed and the correct main tool bar items are enabled