blob: d28acb9708372d9fe76c50d0631bf1d6b4e2ebc3 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.ui;
/**
* Defines status codes relevant to the Java UI plug-in. When a
* Core exception is thrown, it contain a status object describing
* the cause of the exception. The status objects originating from the
* Java UI plug-in use the codes defined in this interface.
*/
public interface IJavaStatusConstants {
// Java UI status constants start at 10000 to make sure that we don't
// collide with resource and java model constants.
int INTERNAL_ERROR= 10001;
/**
* Status constant indicating that an exception occurred on
* storing or loading templates.
*/
int TEMPLATE_IO_EXCEPTION = 10002;
/**
* Status constant indicating that an validateEdit call has changed the
* content of a file on disk.
*/
int VALIDATE_EDIT_CHANGED_CONTENT= 10003;
/**
* Status constant indicating that a <tt>ChangeAbortException</tt> has been
* caught.
*/
int CHANGE_ABORTED= 10004;
/**
* Status constant indicating that an exception occurred while
* parsing template file.
*/
int TEMPLATE_PARSE_EXCEPTION = 10005;
/**
* Status constant indicating that a problem occurred while notifying a post
* save listener.
*
* see IPostSaveListener
* @since 3.3
*/
int EDITOR_POST_SAVE_NOTIFICATION= 10006;
/**
* Status constant indication that a problem occurred while calculating
* the changed region during a save.
*
* see CompilationUnitDocumentProvider
* @since 3.4
*/
int EDITOR_CHANGED_REGION_CALCULATION= 10007;
/**
* Status constant indication that a problem occurred while opening an editor:
* no editor input could be created. See {EditorUtility#openInEditor(Object, boolean)}.
* @since 3.4
*/
int EDITOR_NO_EDITOR_INPUT= 10008;
}