Bug 117554 [WorkingSets] UI usage of getName() should be migrated to getLabel()
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/ResourceNavigator.java
*/
    protected void initResourceSorter() {
        int sortType = ResourceSorter.NAME;
        try {
            int sortInt = 0;
            if (memento != null) {
                String sortStr = memento.getString(TAG_SORTER);
                if (sortStr != null)
                    sortInt = new Integer(sortStr).intValue();
            } else {
                sortInt = settings.getInt(STORE_SORT_TYPE);
            }
            if (sortInt == ResourceSorter.NAME
                    || sortInt == ResourceSorter.TYPE)
                sortType = sortInt;
        } catch (NumberFormatException e) {
        }
        setSorter(new ResourceSorter(sortType));
    }
    /**
     * Restores the working set filter from the persistence store.
     */
    void initWorkingSetFilter() {
        String workingSetName = settings.get(STORE_WORKING_SET);
        if (workingSetName != null && workingSetName.equals("") == false) { 
            IWorkingSetManager workingSetManager = getPlugin().getWorkbench()
                    .getWorkingSetManager();
            IWorkingSet workingSet = workingSetManager
                    .getWorkingSet(workingSetName);
            if (workingSet != null) {