Bug 76439 Classfile editor: Allow source attachment option for classes in class folders
20041017 When you open a class file for a class folder that has no source attchment you see a message 'No source available...' but no button that brings you to the source attachment page like it is done for JARs. ClassfileEditor line 225 is too restrictive, the test .isArchive() seems to be too much
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
}
			
			public boolean requestWidgetToken(IWidgetTokenKeeper requester, int priority) {
				if (WorkbenchHelp.isContextHelpDisplayed())
					return false;
				return super.requestWidgetToken(requester, priority);
			}
		};	
	}
	
	/*
	 * @see org.eclipse.ui.IWorkbenchPart#dispose()
	 */
	public void dispose() {
		
		IDocumentProvider documentProvider= getDocumentProvider();
		if (documentProvider instanceof ClassFileDocumentProvider)
			((ClassFileDocumentProvider) documentProvider).removeInputChangeListener(this);
		super.dispose();
	}
	/*
	 * @see org.eclipse.ui.IWorkbenchPart#setFocus()
	 */
	public void setFocus() {
		super.setFocus();
		if (fSourceAttachmentForm != null && !fSourceAttachmentForm.isDisposed())
			fSourceAttachmentForm.setFocus();
	}
}