KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ltk > core > refactoring > IRefactoringCoreStatusCodes


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.ltk.core.refactoring;
12
13 /**
14  * Status codes used by the refactoring core plug-in.
15  * <p>
16  * Note: this interface is not intended to be implemented by clients.
17  * </p>
18  *
19  * @see org.eclipse.core.runtime.Status
20  *
21  * @since 3.0
22  */

23 public interface IRefactoringCoreStatusCodes {
24
25     /**
26      * Status code (value 10000) indicating an internal error.
27      */

28     public static final int INTERNAL_ERROR= 10000;
29
30     /**
31      * Status code (value 10001) indicating that a bad location exception has
32      * occurred during change execution.
33      *
34      * @see org.eclipse.jface.text.BadLocationException
35      */

36     public static final int BAD_LOCATION= 10001;
37
38     /**
39      * Status code (value 10002) indicating that an validateEdit call has
40      * changed the content of a file on disk.
41      */

42     public static final int VALIDATE_EDIT_CHANGED_CONTENT= 10002;
43
44     /**
45      * Status code (value 10003) indicating that a condition checker already
46      * exists in a shared condition checking context.
47      */

48     public static final int CHECKER_ALREADY_EXISTS_IN_CONTEXT= 10003;
49
50     /**
51      * Status code (value 10004) indicating that a refactoring history has been
52      * read which does not contain version information.
53      *
54      * @since 3.2
55      */

56     public static final int MISSING_REFACTORING_HISTORY_VERSION= 10004;
57
58     /**
59      * Status code (value 10005) indicating that a refactoring history with an
60      * unsupported version has been read.
61      *
62      * @since 3.2
63      */

64     public static final int UNSUPPORTED_REFACTORING_HISTORY_VERSION= 10005;
65
66     /**
67      * Status code (value 10006) indicating that a general error has occurred
68      * during I/O of a refactoring history.
69      *
70      * @since 3.2
71      */

72     public static final int REFACTORING_HISTORY_IO_ERROR= 10006;
73
74     /**
75      * Status code (value 10007) indicating that the format of a refactoring
76      * history contains errors.
77      *
78      * @since 3.2
79      */

80     public static final int REFACTORING_HISTORY_FORMAT_ERROR= 10007;
81 }
82
Popular Tags