new version with WorkingCopy Management
[phpeclipse.git] / net.sourceforge.phpeclipse / 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 
15  * Core exception is thrown, it contain a status object describing
16  * the cause of the exception. The status objects originating from the
17  * Java UI plug-in use the codes defined 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
28          * storing or 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 been
40          * caught.
41          */
42         public static final int CHANGE_ABORTED= 10004;
43
44         /**
45          * Status constant indicating that an exception occurred while
46          * parsing template file.
47          */
48         public static final int TEMPLATE_PARSE_EXCEPTION = 10005;
49  }