Example usage for com.intellij.openapi.options.colors ColorDescriptor ColorDescriptor

List of usage examples for com.intellij.openapi.options.colors ColorDescriptor ColorDescriptor

Introduction

In this page you can find the example usage for com.intellij.openapi.options.colors ColorDescriptor ColorDescriptor.

Prototype

public ColorDescriptor(@NotNull String displayName, @NotNull ColorKey key, @NotNull Kind kind) 

Source Link

Document

Creates a color descriptor with the specified name and color key.

Usage

From source file:com.chrisrm.idea.config.MTCustomColorsProvider.java

License:Open Source License

@NotNull
@Override//  w w  w .  jav a  2  s  .  co  m
public ColorDescriptor[] getColorDescriptors() {
    return new ColorDescriptor[] {
            new ColorDescriptor(MaterialThemeBundle.message("MTColorForm.background"), null, null) };
}

From source file:com.intellij.xdebugger.impl.ui.DebuggerColorsPage.java

License:Apache License

@Override
@NotNull/*from   www.j  a  va2 s  .c o  m*/
public ColorDescriptor[] getColorDescriptors() {
    return new ColorDescriptor[] {
            new ColorDescriptor(OptionsBundle.message("options.java.attribute.descriptor.recursive.call"),
                    DebuggerColors.RECURSIVE_CALL_ATTRIBUTES, ColorDescriptor.Kind.BACKGROUND) };
}