Example usage for com.intellij.openapi.roots.ui.util SimpleTextCellAppearance invalid

List of usage examples for com.intellij.openapi.roots.ui.util SimpleTextCellAppearance invalid

Introduction

In this page you can find the example usage for com.intellij.openapi.roots.ui.util SimpleTextCellAppearance invalid.

Prototype

public static SimpleTextCellAppearance invalid(@NotNull final String text, @Nullable final Icon icon) 

Source Link

Usage

From source file:org.mustbe.consulo.roots.impl.UnknownOrderEntryTypeProvider.java

License:Apache License

@NotNull
@Override//ww w .jav  a2 s .com
public CellAppearanceEx getCellAppearance(@NotNull UnknownOrderEntryImpl orderEntry) {
    return SimpleTextCellAppearance.invalid(orderEntry.getPresentableName(), AllIcons.Toolbar.Unknown);
}