|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.Status
org.eclipse.core.commands.operations.OperationStatus
OperationStatus describes the status of a request to execute, undo, or redo an operation. This class may be instantiated by clients.
Field Summary | |
---|---|
static int |
NOTHING_TO_REDO
NOTHING_TO_REDO indicates there was no operation available for redo. |
static int |
NOTHING_TO_UNDO
NOTHING_TO_UNDO indicates there was no operation available for undo. |
static int |
OPERATION_INVALID
OPERATION_INVALID indicates that the operation available for undo or redo is not in a state to successfully perform the undo or redo. |
Fields inherited from class org.eclipse.core.runtime.Status |
---|
CANCEL_STATUS, OK_STATUS |
Fields inherited from interface org.eclipse.core.runtime.IStatus |
---|
CANCEL, ERROR, INFO, OK, WARNING |
Constructor Summary | |
---|---|
OperationStatus(int severity,
String pluginId,
int code,
String message,
Throwable exception)
Creates a new operation status, specifying all properties. |
Methods inherited from class org.eclipse.core.runtime.Status |
---|
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches, setCode, setException, setMessage, setPlugin, setSeverity, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int NOTHING_TO_REDO
public static final int NOTHING_TO_UNDO
public static final int OPERATION_INVALID
Constructor Detail |
public OperationStatus(int severity, String pluginId, int code, String message, Throwable exception)
severity
- the severity for the statuspluginId
- the unique identifier of the relevant plug-incode
- the informational code for the statusmessage
- a human-readable message, localized to the current localeexception
- a low-level exception, or null
if not
applicable
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.