com.intellij.openapi.util.Iconable



API Populatity

3 Client projects

Project: com.intellij

Project JetBrains/intellij-community in file ....intellij.ide.util.PsiElementListCellRenderer.java (2012-01-12)
@@ -25,6 +25,7 @@ import com.intellij.openapi.editor.colors.TextAttributesKey;
 import com.intellij.openapi.editor.markup.EffectType;
 import com.intellij.openapi.editor.markup.TextAttributes;
 import com.intellij.openapi.ui.popup.PopupChooserBuilder;
+import com.intellij.openapi.util.Iconable;
 import com.intellij.openapi.vcs.FileStatus;
 import com.intellij.openapi.vcs.FileStatusManager;
 import com.intellij.openapi.vfs.VirtualFile;
@@ -192,6 +193,7 @@ public abstract class PsiElementListCellRenderer<T extends PsiElement> extends J
   @Nullable
   protected abstract String getContainerText(T element, final String name);
 
+  @Iconable.IconFlags
   protected abstract int getIconFlags();
 
   protected Icon getIcon(PsiElement element) {
Project JetBrains/intellij-community in file ....spellchecker.quickfixes.SpellCheckerQuickFix.java (2009-10-13)
@@ -17,9 +17,10 @@ package com.intellij.spellchecker.quickfixes;
 
 import com.intellij.codeInspection.LocalQuickFix;
 import com.intellij.openapi.actionSystem.Anchor;
+import com.intellij.openapi.util.Iconable;
 import org.jetbrains.annotations.NotNull;
 
-public interface SpellCheckerQuickFix extends LocalQuickFix {
+public interface SpellCheckerQuickFix extends LocalQuickFix, Iconable {
 
   @NotNull
   Anchor getPopupActionAnchor();
Project JetBrains/intellij-community in file ....impl.statements.typedef.GrTypeDefinitionImpl.java (2008-03-18)
@@ -20,6 +20,7 @@ import com.intellij.lang.ASTNode;
 import com.intellij.navigation.ItemPresentation;
 import com.intellij.openapi.editor.colors.TextAttributesKey;
 import com.intellij.openapi.util.Pair;
+import com.intellij.openapi.util.Iconable;
 import com.intellij.openapi.util.text.StringUtil;
 import com.intellij.openapi.vfs.VirtualFile;
 import com.intellij.pom.java.PomMemberOwner;
@@ -149,7 +150,7 @@ public abstract class GrTypeDefinitionImpl extends GroovyPsiElementImpl implemen
 
       @Nullable
       public Icon getIcon(boolean open) {
-        return GroovyIcons.SMALLEST;
+        return GrTypeDefinitionImpl.this.getIcon(Iconable.ICON_FLAG_VISIBILITY | Iconable.ICON_FLAG_READ_STATUS);
       }
 
       @Nullable