From 59e9b2a504b7e47418bf8c2360370fbef14fd91e Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Wed, 12 May 2004 03:54:21 +0000 Subject: [PATCH] remove of this file no longer use, the AnnotaionModel is now located in the CDocumentProvider. --- .../ui/editor/CMarkerAnnotationModel.java | 43 ------------------- 1 file changed, 43 deletions(-) delete mode 100644 core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CMarkerAnnotationModel.java diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CMarkerAnnotationModel.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CMarkerAnnotationModel.java deleted file mode 100644 index 9ac31d02222..00000000000 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CMarkerAnnotationModel.java +++ /dev/null @@ -1,43 +0,0 @@ -package org.eclipse.cdt.internal.ui.editor; - -/* - * (c) Copyright IBM Corp. 2000, 2001. - * All Rights Reserved. - */ - -import org.eclipse.core.resources.IMarker; -import org.eclipse.core.resources.IResource; -import org.eclipse.ui.texteditor.MarkerAnnotation; -import org.eclipse.ui.texteditor.ResourceMarkerAnnotationModel; - - -public class CMarkerAnnotationModel extends ResourceMarkerAnnotationModel { - - /** - * Constructor for CMarkerAnnotationModel - */ - public CMarkerAnnotationModel(IResource resource) { - super(resource); - } - - /** - * @see AbstractMarkerAnnotationModel#createMarkerAnnotation(IMarker) - */ - protected MarkerAnnotation createMarkerAnnotation(IMarker marker) { - //String markerType = MarkerUtilities.getMarkerType(marker); - return new CMarkerAnnotation(marker, fDocument); - } - /** - * @see AbstractMarkerAnnotationModel#modifyMarkerAnnotation(IMarker) - */ - protected void modifyMarkerAnnotation(IMarker marker) { - MarkerAnnotation a= getMarkerAnnotation(marker); - if (a == null) { - // It might not have been good enough before, but now it - // is, try adding this marker into the model again. - addMarkerAnnotation(marker); - } - super.modifyMarkerAnnotation(marker); - } - -}