Bug 22380 "No Source" class file editor does not fetch keyboard focus
Build N20020813 Test Case: 1. From the package explorer open a class from a JAR without attached source 2. Activate the editor 3. Select something in another view (note: selection is blue) 4. Activate the class file editor by clicking on the tab ==> selection in other view remains blue but should be gray. Suggest to set the keyboard focus to the "Attach Source..." button
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
try {
										SourceAttachmentDialog dialog= new SourceAttachmentDialog(fScrolledComposite.getShell(), root);
										if (dialog.open() == SourceAttachmentDialog.OK)
											verifyInput(getEditorInput());
		
									} catch (CoreException e) {
										String title= JavaEditorMessages.getString("SourceAttachmentForm.error.title"); 
										String message= JavaEditorMessages.getString("SourceAttachmentForm.error.message"); 
										ExceptionHandler.handle(e, fScrolledComposite.getShell(), title, message);				
									}
								}
		
								public void widgetDefaultSelected(SelectionEvent e) {}
							});
		
						}
					}
				} catch (JavaModelException e) {
					String title= JavaEditorMessages.getString("SourceAttachmentForm.error.title"); 
					String message= JavaEditorMessages.getString("SourceAttachmentForm.error.message"); 
					ExceptionHandler.handle(e, fScrolledComposite.getShell(), title, message);				
				}
				
				separator= createCompositeSeparator(composite);
				data= new GridData(GridData.FILL_HORIZONTAL);
				data.heightHint= 2;
				separator.setLayoutData(data);
				StyledText styledText= createCodeView(composite);
				data= new GridData(GridData.FILL_BOTH);
				styledText.setLayoutData(data);