Package com.gurock.smartinspect.contexts
Class SourceViewerContext
- java.lang.Object
-
- com.gurock.smartinspect.contexts.ViewerContext
-
- com.gurock.smartinspect.contexts.TextContext
-
- com.gurock.smartinspect.contexts.SourceViewerContext
-
public class SourceViewerContext extends TextContext
Represents the source viewer in the Console which can display text data as source code with syntax highlighting.The source viewer in the Console interprets the data of a Log Entry as source code and displays it in a read-only text editor with syntax highlighting.
This class is not guaranteed to be threadsafe.
-
-
Constructor Summary
Constructors Constructor Description SourceViewerContext(SourceId id)Creates and initializes a SourceViewerContext instance.
-
Method Summary
-
Methods inherited from class com.gurock.smartinspect.contexts.TextContext
appendLine, appendText, close, escapeLine, getViewerData, loadFromFile, loadFromReader, loadFromStream, loadFromText, resetData
-
Methods inherited from class com.gurock.smartinspect.contexts.ViewerContext
getViewerId
-
-
-
-
Constructor Detail
-
SourceViewerContext
public SourceViewerContext(SourceId id)
Creates and initializes a SourceViewerContext instance.- Parameters:
id- The source ID to use
-
-