Пример #1
0
HighlighterBackgroundThreadData::~HighlighterBackgroundThreadData()
    {
#if(SHARED_QUEUE)
    sSharedQueue.waitForCompletion();
#else
    stopAndWaitForCompletion();
#endif
    }
Пример #2
0
GraphSize ClassGraph::updateGraph(const ModelData &modelData, bool geneRepositioning)
    {
    if(geneRepositioning)
        {
        stopAndWaitForCompletion();
        addTask(ClassGraphBackgroundItem(&modelData, &mGraphOptions));
        }
    else
        {
        updateNodeSizes();
        updateConnections(modelData);
        mGraphListener->doneRepositioning();
        }
    return(getGraphSize());
    }
Пример #3
0
ClassGraph::~ClassGraph()
    {
    stopAndWaitForCompletion();
    }