public class ColoredOutputTypeRegistry
extends java.lang.Object
Constructor and Description |
---|
ColoredOutputTypeRegistry() |
Modifier and Type | Method and Description |
---|---|
static TextAttributesKey |
getAnsiColorKey(int value) |
static ColoredOutputTypeRegistry |
getInstance() |
Key |
getOutputKey(java.lang.String attribute)
Deprecated.
use
getOutputType(String, Key) instead |
ProcessOutputType |
getOutputType(com.intellij.execution.process.AnsiTerminalEmulator terminal,
Key streamType)
Creates an
ProcessOutputType from the terminal emulator state and stream type. |
ProcessOutputType |
getOutputType(java.lang.String attribute,
Key streamType) |
public static ColoredOutputTypeRegistry getInstance()
public ProcessOutputType getOutputType(java.lang.String attribute, Key streamType)
public ProcessOutputType getOutputType(com.intellij.execution.process.AnsiTerminalEmulator terminal, Key streamType)
ProcessOutputType
from the terminal emulator state
and stream type. Output type may be used
later to print to the console@Deprecated public Key getOutputKey(java.lang.String attribute)
getOutputType(String, Key)
insteadpublic static TextAttributesKey getAnsiColorKey(int value)