Bug 74708 [Encoding] IDEEncodingPreferencePage does not disable OK when invalid encoding is entered
20040921-2000 If you enter an invalid encoding in the IDEEncodingsPreferencePage you will still be able to select OK STEPS 1) Open the Editors preference page 2) Type ffff 3) You are warned but OK is still enabled.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceInfoPage.java
if (!file.exists()) {
				locationString += " " + FILE_NOT_EXIST_TEXT;  
			}
			return locationString;
		}
	}
	/**
	 * Return a String that indicates the size of the supplied file.
	 */
	private String getSizeString(IFile file) {
		if (!file.isLocal(IResource.DEPTH_ZERO))
			return NOT_LOCAL_TEXT;
		IPath location = file.getLocation();
		if (location == null) {
			if (file.isLinked())
				return MISSING_PATH_VARIABLE_TEXT;
			return NOT_EXIST_TEXT;
		} else {
			File localFile = location.toFile();
			if (localFile.exists()) {
				String bytesString = Long.toString(localFile.length());
				return MessageFormat.format(BYTES_LABEL,
						new Object[] { bytesString });
			}
			return NOT_EXIST_TEXT;
		}
	}
	/**
	 * Get the string that identifies the type of this resource.
	 */