Modifier and Type | Field and Description |
---|---|
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.
|
CANCEL_STATUS, OK_STATUS
Constructor and Description |
---|
OperationStatus(int severity,
String pluginId,
int code,
String message,
Throwable exception)
Creates a new operation status, specifying all properties.
|
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches, setCode, setException, setMessage, setPlugin, setSeverity, toString
public static final int NOTHING_TO_REDO
public static final int NOTHING_TO_UNDO
public static final int OPERATION_INVALID
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
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.