X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/CompilationUnitAnnotationModelEvent.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/CompilationUnitAnnotationModelEvent.java deleted file mode 100644 index 069e68b..0000000 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/CompilationUnitAnnotationModelEvent.java +++ /dev/null @@ -1,57 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package net.sourceforge.phpeclipse.phpeditor; - - - -import org.eclipse.core.resources.IResource; - -import org.eclipse.jface.text.source.AnnotationModelEvent; -import org.eclipse.jface.text.source.IAnnotationModel; - -/** - * Event sent out by changes of the compilation unit annotation model. - */ -public class CompilationUnitAnnotationModelEvent extends AnnotationModelEvent { - - private boolean fIncludesMarkerAnnotationChanges; - private IResource fUnderlyingResource; - - - /** - * Constructor for CompilationUnitAnnotationModelEvent. - * @param model - * @param underlyingResource The annotation model's underlying resource - * @param includesMarkerAnnotationChanges - */ - public CompilationUnitAnnotationModelEvent(IAnnotationModel model, IResource underlyingResource, boolean includesMarkerAnnotationChanges) { - super(model); - fIncludesMarkerAnnotationChanges= includesMarkerAnnotationChanges; - fUnderlyingResource= underlyingResource; - } - - /** - * Returns whether the change included marker annotations. - * - * @return true if the change included marker annotations - */ - public boolean includesMarkerAnnotationChanges() { - return fIncludesMarkerAnnotationChanges; - } - - /** - * Returns the annotation model's underlying resource - */ - public IResource getUnderlyingResource() { - return fUnderlyingResource; - } - -}