Search in sources :

Example 1 with TraverseCompareTree

use of org.sirix.gui.view.model.TraverseCompareTree in project sirix by sirixdb.

the class SunburstCompareModel method traverseTree.

@Override
public synchronized void traverseTree(final Container<SunburstContainer> pContainer) {
    // Cast guaranteed to work.
    mContainer = (SunburstContainer) checkNotNull(pContainer);
    final SunburstContainer container = (SunburstContainer) pContainer;
    if (container.getOldRevision() == -1) {
        container.setOldRevision(getDb().getRevisionNumber());
    }
    mPool.submit(new TraverseCompareTree(container));
}
Also used : TraverseCompareTree(org.sirix.gui.view.model.TraverseCompareTree) SunburstContainer(org.sirix.gui.view.sunburst.SunburstContainer)

Aggregations

TraverseCompareTree (org.sirix.gui.view.model.TraverseCompareTree)1 SunburstContainer (org.sirix.gui.view.sunburst.SunburstContainer)1