Class ReadOnlyReason
java.lang.Object
ro.sync.exml.workspace.api.editor.ReadOnlyReason
An object describing the cause for which an editor is read-only.
- Since:
- 19.1
-
Constructor Summary
ConstructorsConstructorDescriptionReadOnlyReason(String message) Constructor.ReadOnlyReason(String message, String code) Constructor. -
Method Summary
-
Constructor Details
-
ReadOnlyReason
Constructor.- Parameters:
message- The message that explains why the editor is read-only.code- The code of the cause for which the editor is read-only. It will be only accessible through the API.
-
ReadOnlyReason
Constructor.- Parameters:
message- The message that explains why the editor is read-only.
-
-
Method Details
-
getMessage
- Returns:
- The message that explains why the editor is read-only.
-
getCode
- Returns:
- The code of the cause for which the editor is read-only. It will be only accessible through the API.
-