edu.mssm.crover.domain2d
Interface AnnotationsToDrawings

All Known Implementing Classes:
AbstractAnnotationsToDrawings, DiagramAnnotationsToDrawingsImpl

public interface AnnotationsToDrawings

Translates annotations to graphical representations to be rendered on top of a given representation.


Method Summary
 void addParser(AnnotationParser parser)
          Register an annotation parser.
 Drawing[] parseAnnotations(BiologicalAnnotations ba)
          Does the translation.
 

Method Detail

parseAnnotations

Drawing[] parseAnnotations(BiologicalAnnotations ba)
Does the translation.

Returns:
an array, possibly empty, of Drawing to be rendered on a graphical representation.

addParser

void addParser(AnnotationParser parser)
Register an annotation parser. Each parser supports a kind of annotation and encapsultates the knowledge of how to represent this annotation graphically.



Copyright © 2004 Weill Cornell Medical College. All Rights Reserved.