private static class UnvisitedFilter extends ViewerFilter {
@Override
public boolean select(Viewer viewer, Object parentElement, Object element) {
if(element instanceof IWebEntity) {
final IWebEntity entity = (IWebEntity) element;
return entity.isVisited();
}
return false;
}