Bug 32038 Use shared images for properties, tasks, bookmarks views
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/tasklist/TaskList.java
if (viewer != null)
			viewer.setSelection(selection, reveal);
	}
	boolean showChildrenHierarchy() {
		switch (getFilter().onResource) {
			case TasksFilter.ON_ANY_RESOURCE :
			case TasksFilter.ON_SELECTED_RESOURCE_AND_CHILDREN :
			case TasksFilter.ON_ANY_RESOURCE_OF_SAME_PROJECT :
			
			case TasksFilter.ON_WORKING_SET :
			default :
				return true;
			case TasksFilter.ON_SELECTED_RESOURCE_ONLY :
				return false;
		}
	}
	boolean showSelections() {
		switch (getFilter().onResource) {
			case TasksFilter.ON_SELECTED_RESOURCE_ONLY :
			case TasksFilter.ON_SELECTED_RESOURCE_AND_CHILDREN :
			case TasksFilter.ON_ANY_RESOURCE_OF_SAME_PROJECT :
				
				return true;
			case TasksFilter.ON_ANY_RESOURCE :
			case TasksFilter.ON_WORKING_SET :
			default :
				return false;
		}
	}