/* Resolve news counts from folder */
else if (entity instanceof IFolder) {
IFolder folder = (IFolder) entity;
FolderNewsMark resolver = new FolderNewsMark(folder);
NewsContainer newsContainer = resolver.resolveNewsContainer(monitor);
totalCount = newsContainer.getNewsCount(INews.State.getVisible());
newCount = newsContainer.getNewsCount(EnumSet.of(INews.State.NEW));
unreadCount = newsContainer.getNewsCount(EnumSet.of(INews.State.UNREAD));
updatedCount = newsContainer.getNewsCount(EnumSet.of(INews.State.UPDATED));
}
}
@Override
protected void runInUI(IProgressMonitor monitor) {