cleanup (inspection "Java | Class structure | Utility class is not 'final'")
[idea/community.git] / platform / platform-api / src / com / intellij / execution / process / ConsoleHighlighter.java
1 // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
2 package com.intellij.execution.process;
3
4 import com.intellij.execution.ui.ConsoleViewContentType;
5 import com.intellij.openapi.editor.colors.TextAttributesKey;
6 import org.jetbrains.annotations.NonNls;
7
8 public final class ConsoleHighlighter {
9   @NonNls static final String BLACK_ID = "CONSOLE_BLACK_OUTPUT";
10   @NonNls static final String RED_ID = "CONSOLE_RED_OUTPUT";
11   @NonNls static final String GREEN_ID = "CONSOLE_GREEN_OUTPUT";
12   @NonNls static final String YELLOW_ID = "CONSOLE_YELLOW_OUTPUT";
13   @NonNls static final String BLUE_ID = "CONSOLE_BLUE_OUTPUT";
14   @NonNls static final String MAGENTA_ID = "CONSOLE_MAGENTA_OUTPUT";
15   @NonNls static final String CYAN_ID = "CONSOLE_CYAN_OUTPUT";
16   @NonNls static final String GRAY_ID = "CONSOLE_GRAY_OUTPUT"; //ISO white
17
18
19   @NonNls static final String DARKGRAY_ID = "CONSOLE_DARKGRAY_OUTPUT";
20   @NonNls static final String RED_BRIGHT_ID = "CONSOLE_RED_BRIGHT_OUTPUT";
21   @NonNls static final String GREEN_BRIGHT_ID = "CONSOLE_GREEN_BRIGHT_OUTPUT";
22   @NonNls static final String YELLOW_BRIGHT_ID = "CONSOLE_YELLOW_BRIGHT_OUTPUT";
23   @NonNls static final String BLUE_BRIGHT_ID = "CONSOLE_BLUE_BRIGHT_OUTPUT";
24   @NonNls static final String MAGENTA_BRIGHT_ID = "CONSOLE_MAGENTA_BRIGHT_OUTPUT";
25   @NonNls static final String CYAN_BRIGHT_ID = "CONSOLE_CYAN_BRIGHT_OUTPUT";
26   @NonNls static final String WHITE_ID = "CONSOLE_WHITE_OUTPUT"; //ISO bright white
27
28   public static final TextAttributesKey BLACK =
29     TextAttributesKey.createTextAttributesKey(BLACK_ID, ConsoleViewContentType.NORMAL_OUTPUT_KEY);
30   public static final TextAttributesKey RED = TextAttributesKey.createTextAttributesKey(RED_ID, ConsoleViewContentType.NORMAL_OUTPUT_KEY);
31   public static final TextAttributesKey GREEN =
32     TextAttributesKey.createTextAttributesKey(GREEN_ID, ConsoleViewContentType.NORMAL_OUTPUT_KEY);
33   public static final TextAttributesKey YELLOW =
34     TextAttributesKey.createTextAttributesKey(YELLOW_ID, ConsoleViewContentType.NORMAL_OUTPUT_KEY);
35   public static final TextAttributesKey BLUE = TextAttributesKey.createTextAttributesKey(BLUE_ID, ConsoleViewContentType.NORMAL_OUTPUT_KEY);
36   public static final TextAttributesKey MAGENTA =
37     TextAttributesKey.createTextAttributesKey(MAGENTA_ID, ConsoleViewContentType.NORMAL_OUTPUT_KEY);
38   public static final TextAttributesKey CYAN = TextAttributesKey.createTextAttributesKey(CYAN_ID, ConsoleViewContentType.NORMAL_OUTPUT_KEY);
39   public static final TextAttributesKey GRAY = TextAttributesKey.createTextAttributesKey(GRAY_ID, ConsoleViewContentType.NORMAL_OUTPUT_KEY);
40
41
42   public static final TextAttributesKey DARKGRAY =
43     TextAttributesKey.createTextAttributesKey(DARKGRAY_ID, GRAY);
44   public static final TextAttributesKey RED_BRIGHT =
45     TextAttributesKey.createTextAttributesKey(RED_BRIGHT_ID, RED);
46   public static final TextAttributesKey GREEN_BRIGHT =
47     TextAttributesKey.createTextAttributesKey(GREEN_BRIGHT_ID, GREEN);
48   public static final TextAttributesKey YELLOW_BRIGHT =
49     TextAttributesKey.createTextAttributesKey(YELLOW_BRIGHT_ID, YELLOW);
50   public static final TextAttributesKey BLUE_BRIGHT =
51     TextAttributesKey.createTextAttributesKey(BLUE_BRIGHT_ID, BLUE);
52   public static final TextAttributesKey MAGENTA_BRIGHT =
53     TextAttributesKey.createTextAttributesKey(MAGENTA_BRIGHT_ID, MAGENTA);
54   public static final TextAttributesKey CYAN_BRIGHT =
55     TextAttributesKey.createTextAttributesKey(CYAN_BRIGHT_ID, CYAN);
56   public static final TextAttributesKey WHITE =
57     TextAttributesKey.createTextAttributesKey(WHITE_ID, ConsoleViewContentType.NORMAL_OUTPUT_KEY);
58
59
60   private ConsoleHighlighter() {
61   }
62 }