IDEA-200972 View Breakpoints: Show breakpoint icons in the tree view to distinguish between suspend options

This commit is contained in:
Egor Ushakov
2018-10-23 12:44:11 +03:00
parent b2123b322d
commit a6fe440385
@@ -38,9 +38,7 @@ class XBreakpointItem extends BreakpointItem {
@Override
public void setupGenericRenderer(SimpleColoredComponent renderer, boolean plainView) {
if (plainView) {
renderer.setIcon(getIcon());
}
renderer.setIcon(getIcon());
final SimpleTextAttributes attributes =
myBreakpoint.isEnabled() ? SimpleTextAttributes.SIMPLE_CELL_ATTRIBUTES : SimpleTextAttributes.GRAYED_ATTRIBUTES;
renderer.append(StringUtil.notNullize(getDisplayText()), attributes);