X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/AnnotationType.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/AnnotationType.java index a9e0ebc..c283c3d 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/AnnotationType.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/AnnotationType.java @@ -1,34 +1,42 @@ /********************************************************************** -Copyright (c) 2000, 2002 IBM Corp. 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 implementation -**********************************************************************/ + Copyright (c) 2000, 2002 IBM Corp. 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 implementation + **********************************************************************/ package net.sourceforge.phpeclipse.phpeditor; -import org.eclipse.jface.text.Assert; +//incastrix +//import org.eclipse.jface.text.Assert; +import org.eclipse.core.runtime.Assert; public final class AnnotationType { - - public static final AnnotationType ALL= new AnnotationType(); - public static final AnnotationType UNKNOWN= new AnnotationType(); - public static final AnnotationType BOOKMARK= new AnnotationType(); - public static final AnnotationType TASK= new AnnotationType(); - public static final AnnotationType ERROR= new AnnotationType(); - public static final AnnotationType WARNING= new AnnotationType(); - public static final AnnotationType SEARCH= new AnnotationType(); - + + public static final AnnotationType ALL = new AnnotationType(); + + public static final AnnotationType UNKNOWN = new AnnotationType(); + + public static final AnnotationType BOOKMARK = new AnnotationType(); + + public static final AnnotationType TASK = new AnnotationType(); + + public static final AnnotationType ERROR = new AnnotationType(); + + public static final AnnotationType WARNING = new AnnotationType(); + + public static final AnnotationType SEARCH = new AnnotationType(); + private AnnotationType() { } public String toString() { if (this == ALL) return "AnnotationType.ALL"; //$NON-NLS-1$ - + if (this == UNKNOWN) return "AnnotationType.UNKNOWN"; //$NON-NLS-1$ @@ -37,7 +45,7 @@ public final class AnnotationType { if (this == TASK) return "AnnotationType.TASK"; //$NON-NLS-1$ - + if (this == ERROR) return "AnnotationType.ERROR"; //$NON-NLS-1$