Package de.xima.fc.gui.common.model
Class CodeMirrorLintResult
- java.lang.Object
-
- de.xima.fc.gui.common.model.CodeMirrorLintResult
-
- All Implemented Interfaces:
Serializable
public final class CodeMirrorLintResult extends Object implements Serializable
Result for the server side linting callback of code mirror, see the script functionFormcycle.CodeMirror.setupLinting
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CodeMirrorLintResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addError(String message, int fromLine, int fromColumn, int toLine, int toColumn)
void
addInfo(String message, int fromLine, int fromColumn, int toLine, int toColumn)
void
addMessage(de.xima.infix_expression.generic.api.EMessageSeverity severity, String message, int fromLine, int fromColumn, int toLine, int toColumn)
void
addWarning(String message, int fromLine, int fromColumn, int toLine, int toColumn)
List<de.xima.fc.gui.common.model.CodeMirrorLintResult.Annotation>
getAnnotations()
void
setAnnotations(List<de.xima.fc.gui.common.model.CodeMirrorLintResult.Annotation> annotations)
String
toJsonString()
-
-
-
Method Detail
-
addError
public void addError(String message, int fromLine, int fromColumn, int toLine, int toColumn)
-
addInfo
public void addInfo(String message, int fromLine, int fromColumn, int toLine, int toColumn)
-
addMessage
public void addMessage(de.xima.infix_expression.generic.api.EMessageSeverity severity, String message, int fromLine, int fromColumn, int toLine, int toColumn)
-
addWarning
public void addWarning(String message, int fromLine, int fromColumn, int toLine, int toColumn)
-
getAnnotations
public List<de.xima.fc.gui.common.model.CodeMirrorLintResult.Annotation> getAnnotations()
-
setAnnotations
public void setAnnotations(List<de.xima.fc.gui.common.model.CodeMirrorLintResult.Annotation> annotations)
-
toJsonString
public String toJsonString()
-
-