*/
public boolean deleteAnnotation(AlignmentAnnotation aa)
{
+ return deleteAnnotation(aa, true);
+ }
+
+ public boolean deleteAnnotation(AlignmentAnnotation aa, boolean unhook)
+ {
int aSize = 1;
if (annotations != null)
if (swap)
{
annotations = temp;
- unhookAnnotation(aa);
+ if (unhook) {
+ unhookAnnotation(aa);
+ }
}
return swap;
}