Bug 118246 Definition of getJavaLikeExtensions() leads to programming errors
I20051123-1200 In contrast to all existing get*Extension* methods for file (names) in the Platform the new getJavaLikeExtensions() method is containing the '.'. This leads to programming errors when working with extensions in Eclipse: IFile.getFileExtension() returns 'java' for Foo.java IFileEditorMapping.getExtension() for the Java editor returns 'java' BUT: JavaCore.getJavaLikeExtensions() returns '.java'
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertyKeyHyperlink.java
private boolean checkEnabled() {
		 
		return fStorage instanceof IResource;
	}
	private void open(KeyReference[] keyReferences) {
		Assert.isLegal(keyReferences != null && keyReferences.length > 0);
		if (keyReferences.length == 1)
			open(keyReferences[0]);
		else
			open(select(keyReferences));
	}
	/**
	 * Opens a dialog which allows to select a key reference.
	 * <p>
	 * FIXME: The lower pane is currently not sorted due to https://bugs.eclipse.org/bugs/show_bug.cgi?id=84220
	 * </p>
	 *
	 * @param keyReferences the array of key references
	 * @return the selected key reference or <code>null</code> if canceled by the user
	 */
	private KeyReference select(final KeyReference[] keyReferences) {
		Arrays.sort(keyReferences);
		final int length= keyReferences.length;
		ILabelProvider labelProvider= new WorkbenchLabelProvider() {
			public String decorateText(String input, Object element) {
				KeyReference keyRef= (KeyReference)element;
				IStorage storage= keyRef.storage;
				String name= storage.getName();
				if (name == null)
					return input;