Bug 31999 Error when opening editor on class file not hosted in a Java project
I20030214 - create Simple project - create a file A.class - open it observe: you get an error saying that Simple doesn't exist.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
}
				button.addSelectionListener(getButtonListener(entry, containerPath, jproject));
			}
			
			private SelectionListener getButtonListener(final IClasspathEntry entry, final IPath containerPath, final IJavaProject jproject) {
				return new SelectionListener() {
					public void widgetSelected(SelectionEvent event) {				
						try {
							SourceAttachmentDialog dialog= new SourceAttachmentDialog(fScrolledComposite.getShell(), entry, containerPath, jproject, true);
							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) {}
				};
			}	
			
		
			/*
			 * @see IPropertyChangeListener#propertyChange(PropertyChangeEvent)
			 */
			public void propertyChange(PropertyChangeEvent event) {		
		
				for (Iterator iterator = fBannerLabels.iterator(); iterator.hasNext();) {