git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1492 JAL-1397 make AnnotatedCollectionI context aware so groups can be coloured...
[jalview.git]
/
src
/
jalview
/
datamodel
/
AnnotatedCollectionI.java
diff --git
a/src/jalview/datamodel/AnnotatedCollectionI.java
b/src/jalview/datamodel/AnnotatedCollectionI.java
index
510437a
..
0f856ee
100644
(file)
--- a/
src/jalview/datamodel/AnnotatedCollectionI.java
+++ b/
src/jalview/datamodel/AnnotatedCollectionI.java
@@
-31,4
+31,9
@@
public interface AnnotatedCollectionI extends SequenceCollectionI
Iterable<AlignmentAnnotation> findAnnotation(String calcId);
Iterable<AlignmentAnnotation> findAnnotation(String calcId);
+ /**
+ * context for this annotated collection
+ * @return null or the collection upon which this collection is defined (e.g. alignment, parent group).
+ */
+ AnnotatedCollectionI getContext();
}
}