Bug 117554 [WorkingSets] UI usage of getName() should be migrated to getLabel()
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/tasklist/FiltersDialog.java
if (type != null) {
                typesViewer.setSubtreeChecked(type, true);
            }
        }
    }
    /**
     * Updates the enabled state of the widgetry.
     */
    void updateEnabledState() {
        markerLimit.setEnabled(filterOnMarkerLimit.getSelection());
        boolean isProblemSelected = selectionIncludesSubtypeOf(IMarker.PROBLEM);
        boolean isTaskSelected = selectionIncludesSubtypeOf(IMarker.TASK);
        severityGroup.setEnabled(isProblemSelected);
        priorityGroup.setEnabled(isTaskSelected);
        completionGroup.setEnabled(isTaskSelected);
    }
    /**
     * Updates the given filter from the UI state.
     *
     * @param tasksFilter the filter to update
     */
    void updateFilterFromUI(TasksFilter tasksFilter) {
        tasksFilter.types = getSelectedTypes();
        if (selectedResourceButton.getSelection())
            tasksFilter.onResource = TasksFilter.ON_SELECTED_RESOURCE_ONLY;
        else if (selectedResourceAndChildrenButton.getSelection())
            tasksFilter.onResource = TasksFilter.ON_SELECTED_RESOURCE_AND_CHILDREN;
        else if (anyResourceInSameProjectButton.getSelection()) 
            tasksFilter.onResource = TasksFilter.ON_ANY_RESOURCE_OF_SAME_PROJECT;
        else if (workingSetGroup.getSelection())