openmicroscopy/openmicroscopy — pull request #397 by will-moore (2012-10-10 13:17:54+00:00)
Title: Batch remove annotations 9729

Displays Tags and File Annotations in the Batch Annotate panel in the same way as they appear when a single item is selected.

This allows you to remove them from the selected objects.
Tags and Files are shown in the Batch Annotate panel if they are on 1 or more of the selected objects, and a tool-tip shows which objects they're on.

This is a useful feature in it's own right, allowing you to see what annotations are on a bunch of images at once.

The 'Remove' option on Tags & Files is only displayed if that Tag/File can be removed from one or more object. (E.g. it's possible that someone else added the Tag/File to some objects, so you can't remove it from them).

To test:
- Add a bunch of Tags and Files to a collection of Objects (E.g. Images or Datasets etc). You should see the annotations appear as you add them - the [x] button should allow you to remove them.
- Try annotating the same objects as another user (read-annotate group). You should see that you can add and remove the same tags/files but you cannot remove annotations from the other user.