refactory: added UI removed from core plugin.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / internal / ui / IJavaStatusConstants.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2003 IBM Corporation 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
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11 package net.sourceforge.phpdt.internal.ui;
12
13 /**
14  * Defines status codes relevant to the Java UI plug-in. When a Core exception
15  * is thrown, it contain a status object describing the cause of the exception.
16  * The status objects originating from the Java UI plug-in use the codes defined
17  * in this interface.
18  */
19 public interface IJavaStatusConstants {
20
21         // Java UI status constants start at 10000 to make sure that we don't
22         // collide with resource and java model constants.
23
24         public static final int INTERNAL_ERROR = 10001;
25
26         /**
27          * Status constant indicating that an exception occurred on storing or
28          * loading templates.
29          */
30         public static final int TEMPLATE_IO_EXCEPTION = 10002;
31
32         /**
33          * Status constant indicating that an validateEdit call has changed the
34          * content of a file on disk.
35          */
36         public static final int VALIDATE_EDIT_CHANGED_CONTENT = 10003;
37
38         /**
39          * Status constant indicating that a <tt>ChangeAbortException</tt> has
40          * been caught.
41          */
42         public static final int CHANGE_ABORTED = 10004;
43
44         /**
45          * Status constant indicating that an exception occurred while parsing
46          * template file.
47          */
48         public static final int TEMPLATE_PARSE_EXCEPTION = 10005;
49 }