Skip to content

Instantly share code, notes, and snippets.

@NIA
Created August 30, 2011 11:05
Show Gist options
  • Save NIA/1180667 to your computer and use it in GitHub Desktop.
Save NIA/1180667 to your computer and use it in GitHub Desktop.
AssemblyCellRendererFactoryRegistry *factories = browser->getCellRendererRegistry();
AssemblyCellRendererFactory *f = factories->getFactoryById(AssemblyCellRendererFactory::ALL_NUCLEOTIDES);
SAFE_POINT(f != NULL, "AssemblyCellRendererFactory::ALL_NUCLEOTIDES not found!",);
cellRenderer.reset(f->create());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment