RbDe rbde-349 (20120127151154)

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)
          Performs the translation.
 

Method Detail

parseAnnotations

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

Parameters:
ba - The annotations to translate into drawings.
Returns:
an array, possibly empty, of Drawing objects to be rendered on a graphical representation.

addParser

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

Parameters:
parser - The parser to add

RbDe rbde-349 (20120127151154)

Copyright © 2003-2012 Institute for Computational Biomedicine, All Rights Reserved.