2 * Copyright (c) 2002-2004 Widespace, OU and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * Igor Malinin - initial contribution
11 * $Id: XMLAnnotation.java,v 1.1 2004-09-02 18:28:03 jsurfer Exp $
13 package net.sourceforge.phpeclipse.xml.ui.internal.text;
15 import org.eclipse.jface.text.source.Annotation;
19 * @author Igor Malinin
21 public class XMLAnnotation extends Annotation {
22 public static final String TYPE_ERROR =
23 "org.eclipse.ui.workbench.texteditor.warning"; //$NON-NLS-1$
24 public static final String TYPE_WARNING =
25 "org.eclipse.ui.workbench.texteditor.error"; //$NON-NLS-1$
26 public static final String TYPE_INFO =
27 "org.eclipse.ui.workbench.texteditor.info"; //$NON-NLS-1$
29 public XMLAnnotation(String type, boolean persistent, String text) {
30 super(type, persistent, text);