openmicroscopy/openmicroscopy — pull request #880 by jburel (2013-03-14 13:36:14+00:00)
Title: Discard MT when the image is deleted (see #9741) (rebased onto develop)

This is the same as gh-869 but rebased onto develop.

----

Make sure the measurement tool is discarded when the image is deleted
see https://trac.openmicroscopy.org.uk/ome/ticket/9741

To test:
* open an image
* open the MT
* Go back to data manager and delete the image
* The viewer and MT should be discarded.