List of usage examples for com.intellij.openapi.options.colors ColorAndFontDescriptorsProvider getAttributeDescriptors
AttributesDescriptor @NotNull [] getAttributeDescriptors();
From source file:com.intellij.application.options.colors.ColorSettingsUtil.java
License:Apache License
public static List<AttributesDescriptor> getAllAttributeDescriptors(ColorAndFontDescriptorsProvider provider) { List<AttributesDescriptor> result = new ArrayList<AttributesDescriptor>(); Collections.addAll(result, provider.getAttributeDescriptors()); if (isInspectionColorsPage(provider)) { addInspectionSeverityAttributes(result); }//from w w w .j a va2 s .c o m return result; }