public class NativeIconProvider extends IconProvider implements DumbAware
EXTENSION_POINT_NAME
Constructor and Description |
---|
NativeIconProvider() |
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIcon(PsiElement element,
int flags) |
static javax.swing.Icon |
getNativeIcon(java.io.File file) |
protected boolean |
isNativeFileType(VirtualFile file) |
public javax.swing.Icon getIcon(PsiElement element, int flags)
getIcon
in class IconProvider
element
- for which icon is shownflags
- used for customizing the icon appearance. Flags are listed in Iconable
null
if this provider cannot provide icon for given element.Iconable
public static javax.swing.Icon getNativeIcon(java.io.File file)
protected boolean isNativeFileType(VirtualFile file)