in android/tooling/rib-intellij-plugin/src/main/kotlin/com/uber/intellij/plugin/android/rib/ui/RibViewNodeDescriptor.kt [75:88]
override fun getIcon(element: PsiElement): Icon? {
if (ribView?.name == null || ribView.name.isEmpty()) {
return AllIcons.General.BalloonWarning
} else if (hasLayoutId()) {
return AllIcons.General.CopyHovered
} else if (ribView.name.contains("Image")) {
return AllIcons.General.LayoutPreviewOnly
} else if (ribView.name.contains("Text")) {
return AllIcons.Actions.Highlighting
} else if (ribView.name.contains("Layout")) {
return AllIcons.Graph.Grid
}
return AllIcons.General.InspectionsEye
}