979899100101102103104105106107
Collection<WikiPage> allPages = m_engine.getPageManager().getAllPages(); SearchManager mgr = m_engine.getSearchManager(); m_max = allPages.size(); ProgressItem pi = new ProgressItem() { public int getProgress() { return 100 * m_count / m_max; } };