Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IGB will have the ability to display features using different methods called View Modes.
Each View Mode will only be appropriate to certain feature types. (@ indicates an existing mode)

Design

The current TierGlyph has all the logic for displaying the data in various ways (Graph, Annotation, ...)
The new design will have a subclass of TierGlyph, TierGlyphViewMode, that will contain another
Glyph, ViewModeGlyph (an abstract class), and will delegate all calls to the viewModeGlyph. To display
the data (object model SeqSymmetry) in a different manner, just change the ViewModeGlyph. For example,
for a Wiggle file (Graph track), the TierGlyph can have a FillBarGraphGlyph, then replace that with a
HeatMapGraphGlyph, then replace that with a StairStepGraphGlyph, all subclasses of ViewModeGlyph.

Annotations/Alignments
  • MaxExpanded @
  • Collapsed @
  • ScrollExpanded - like MaxExpanded, but with a vertical scroll, and no max stack depth
  • Depth @
  • Tabular - show the data in a table like the Selection Info tab (rows/columns reversed)

...