Bug 34421 [Encodings] Encodings inconsistent between pref and editor
RC1 build I20030307 The list of encodings in the Workbench / Editors pref page is: Cp1252 ISO-8859-1 US-ASCII UTF-16 UTF-16BE UTF-16LE UTF-8 The Edit/Encoding menu has: Cp1252 (Default) ASCII Latin 1 UTF-8 UTF-16 (big endian) UTF-16 (little endian) UTF-16 The pref uses the machine-readable encoding names. It would be better to use human-readable names like the Edit/Encoding menu Cp1252 is the default here, and may differ in other locales. The combo in the pref does not indicate (Default) like the Edit menu does. We should also add more default encodings.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceInfoPage.java
/**
     * Returns whether the given resource is a linked resource bound 
     * to a path variable.
     * 
     * @param resource resource to test
     * @return boolean <code>true</code> the given resource is a linked 
     * 	resource bound to a path variable. <code>false</code> the given 
     * 	resource is either not a linked resource or it is not using a
     * 	path variable.  
     */
    private boolean isPathVariable(IResource resource) {
        if (!resource.isLinked())
            return false;
        IPath resolvedLocation = resource.getLocation();
        if (resolvedLocation == null) {
            
            return true;
        }
        IPath rawLocation = resource.getRawLocation();
        if (resolvedLocation.equals(rawLocation))
            return false;
        return true;
    }
    /**
     * Reset the editableBox to the false.
     */
    protected void performDefaults() {
        
        if (this.editableBox != null)
            this.editableBox.setSelection(false);