mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-133781 Inspection settings: custom severity levels are shown in grey and black colors
This commit is contained in:
@@ -115,11 +115,11 @@ public class HighlightDisplayLevel {
|
||||
|
||||
@NotNull
|
||||
public static Icon createIconByMask(final Color renderColor) {
|
||||
return new MyColorIcon(EMPTY_ICON_DIM, renderColor);
|
||||
return new TheColorIcon(EMPTY_ICON_DIM, renderColor);
|
||||
}
|
||||
|
||||
private static class MyColorIcon extends ColorIcon implements ColoredIcon {
|
||||
public MyColorIcon(int size, @NotNull Color color) {
|
||||
public static class TheColorIcon extends ColorIcon implements ColoredIcon {
|
||||
public TheColorIcon(int size, @NotNull Color color) {
|
||||
super(size, color);
|
||||
}
|
||||
|
||||
|
||||
+3
-1
@@ -93,7 +93,9 @@ public class SeverityRegistrar implements JDOMExternalizable, Comparator<Highlig
|
||||
myRendererColors.put(severity.getName(), renderColor);
|
||||
}
|
||||
myOrderMap = null;
|
||||
HighlightDisplayLevel.registerSeverity(severity, getHighlightInfoTypeBySeverity(severity).getAttributesKey());
|
||||
|
||||
Color color = info.getAttributes().getErrorStripeColor();
|
||||
new HighlightDisplayLevel(severity, new HighlightDisplayLevel.TheColorIcon(HighlightDisplayLevel.EMPTY_ICON_DIM, color));
|
||||
severitiesChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user