private void drawText(@NotNull GC gc, @NotNull String text, @NotNull Rectangle bounds) {
        if (text.isEmpty()) {
            return;
        }

        bounds.x += 5;
        Color foreground = gc.getForeground();
        Font font = gc.getFont();

        try {
            gc.setForeground(NavigatorThemeSettings.instance.hintColor);
            gc.setFont(BaseThemeSettings.instance.baseFontItalic);

            drawTextClipped(gc, text, bounds);
        } finally {
            gc.setFont(font);
            gc.setForeground(foreground);
        }
    }
Statistics node renderer.
Draws connection type marker next to the item name.
Draws item statistics in the right part.
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/navigator/database/StatisticsNavigatorNodeRenderer.java