mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix typo
This commit is contained in:
@@ -59,8 +59,8 @@ public abstract class ElementBase extends UserDataHolderBase implements Iconable
|
||||
};
|
||||
private TIntObjectHashMap<Icon> myBaseIcon;
|
||||
|
||||
private static final Icon VISIBILITY_ICON_PLACHOLDER = new EmptyIcon(Icons.PUBLIC_ICON);
|
||||
public static final Icon ICON_PLACHOLDER = IconLoader.getIcon("/nodes/nodePlaceholder.png");
|
||||
private static final Icon VISIBILITY_ICON_PLACEHOLDER = new EmptyIcon(Icons.PUBLIC_ICON);
|
||||
public static final Icon ICON_PLACEHOLDER = IconLoader.getIcon("/nodes/nodePlaceholder.png");
|
||||
|
||||
@Nullable
|
||||
public Icon getIcon(int flags) {
|
||||
@@ -132,7 +132,7 @@ public abstract class ElementBase extends UserDataHolderBase implements Iconable
|
||||
}
|
||||
}
|
||||
}
|
||||
return ICON_PLACHOLDER;
|
||||
return ICON_PLACEHOLDER;
|
||||
}
|
||||
|
||||
public static boolean isNativeFileType(FileType fileType) {
|
||||
@@ -144,7 +144,7 @@ public abstract class ElementBase extends UserDataHolderBase implements Iconable
|
||||
if ((flags & ICON_FLAG_VISIBILITY) > 0) {
|
||||
RowIcon rowIcon = new RowIcon(2);
|
||||
rowIcon.setIcon(icon, 0);
|
||||
rowIcon.setIcon(VISIBILITY_ICON_PLACHOLDER, 1);
|
||||
rowIcon.setIcon(VISIBILITY_ICON_PLACEHOLDER, 1);
|
||||
result = rowIcon;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ public class NativeFileIconProvider implements FileIconProvider {
|
||||
if (icon != null) {
|
||||
return icon;
|
||||
}
|
||||
return new DeferredIconImpl<VirtualFile>(ElementBase.ICON_PLACHOLDER, file, false, new Function<VirtualFile, Icon>() {
|
||||
return new DeferredIconImpl<VirtualFile>(ElementBase.ICON_PLACEHOLDER, file, false, new Function<VirtualFile, Icon>() {
|
||||
public Icon fun(VirtualFile virtualFile) {
|
||||
final File f = new File(filePath);
|
||||
if (!f.exists()) {
|
||||
|
||||
Reference in New Issue
Block a user