openmicroscopy/openmicroscopy — pull request #1332 by sbesson (2013-07-04 08:49:43+00:00)
Title: OMERO.matlab: write text annotation functions (rebased onto develop)

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

----

See https://trac.openmicroscopy.org.uk/ome/ticket/10385

Given an image of identifier imageId, the comment annotation writing utility can be tested with
```
[c, session] = loadOmero(); % Assuming ice.config is properly configured
ca = writeCommentAnnotation(session, 'my-comment')
ca2 = writeCommentAnnotation(session, 'my-comment2', 'namespace', 'ns')
ca3 = writeCommentAnnotation(session, 'my-comment', 'description', 'my-description')
linkAnnotation(session, ca, 'image', imageId);
linkAnnotation(session, ca2, 'image', imageId);
linkAnnotation(session, ca2, 'image', imageId);
```

Similar snippets should be used to test `writeTagAnnotation` and `writeXmlAnnotation`.