use of com.intellij.openapi.editor.colors.ColorKey in project intellij-community by JetBrains.
the class HTMLColorsPage method getColorDescriptors.
@Override
@NotNull
public ColorDescriptor[] getColorDescriptors() {
// todo: make preview for it
final ColorKey[] colorKeys = XmlTagTreeHighlightingColors.getColorKeys();
final ColorDescriptor[] colorDescriptors = new ColorDescriptor[colorKeys.length];
for (int i = 0; i < colorDescriptors.length; i++) {
colorDescriptors[i] = new ColorDescriptor(OptionsBundle.message("options.html.attribute.descriptor.tag.tree", i + 1), colorKeys[i], ColorDescriptor.Kind.BACKGROUND);
}
return colorDescriptors;
}
Aggregations