Bug 98327 [misc] File not saved on disk after "resave" editor context
N20060604-0010 - create project, package, A.java - open A.java in editor - go to OS explorer - delete A.java on disk - go back to workbench and activate editor observe: you get a dialog asking you whether you want to save the content - say yes observe: the dialog claims that the file exists. Strange, since I just deleted it. Say yes for override observe: the file doesn't end up on disk. You get an editor that the file doesn't exist.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
*/
			private static final int INFO_LAYER;
			/**
			 * The layer in which warning problem annotations representing are located.
			 */
			private static final int WARNING_LAYER;
			/**
			 * The layer in which error problem annotations representing are located.
			 */
			private static final int ERROR_LAYER;
			static {
				AnnotationPreferenceLookup lookup= EditorsUI.getAnnotationPreferenceLookup();
				TASK_LAYER= computeLayer("org.eclipse.ui.workbench.texteditor.task", lookup); 
				INFO_LAYER= computeLayer("org.eclipse.jdt.ui.info", lookup); 
				WARNING_LAYER= computeLayer("org.eclipse.jdt.ui.warning", lookup); 
				ERROR_LAYER= computeLayer("org.eclipse.jdt.ui.error", lookup); 
			}
			private static int computeLayer(String annotationType, AnnotationPreferenceLookup lookup) {
				Annotation annotation= new Annotation(annotationType, false, null);
				AnnotationPreference preference= lookup.getAnnotationPreference(annotation);
				if (preference != null)
					return preference.getPresentationLayer() + 1;
				else
					return IAnnotationAccessExtension.DEFAULT_LAYER + 1;
			}
			private static Image fgQuickFixImage;
			private static Image fgQuickFixErrorImage;
			private static boolean fgQuickFixImagesInitialized= false;
			private ICompilationUnit fCompilationUnit;
			private List fOverlaids;