mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
added icon for ipython notebook
This commit is contained in:
@@ -48,6 +48,7 @@ public class PythonIcons {
|
||||
}
|
||||
public static final Icon Dotnet = load("/icons/com/jetbrains/python/dotnet.png"); // 16x16
|
||||
public static final Icon InterpreterGear = load("/icons/com/jetbrains/python/interpreterGear.png"); // 16x16
|
||||
public static final Icon IpythonNotebook = load("/icons/com/jetbrains/python/IpythonNotebook.png"); // 16x16
|
||||
public static final Icon Jython = load("/icons/com/jetbrains/python/jython.png"); // 16x16
|
||||
|
||||
public static class Nodes {
|
||||
|
||||
@@ -18,7 +18,7 @@ package org.jetbrains.plugins.ipnb;
|
||||
import com.intellij.openapi.fileTypes.FileType;
|
||||
import com.intellij.openapi.vfs.CharsetToolkit;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.util.PlatformIcons;
|
||||
import icons.PythonIcons;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@@ -47,8 +47,8 @@ public class IpnbFileType implements FileType {
|
||||
}
|
||||
|
||||
public Icon getIcon() {
|
||||
return PlatformIcons.UI_FORM_ICON;
|
||||
} //TODO
|
||||
return PythonIcons.Python.IpythonNotebook;
|
||||
}
|
||||
|
||||
public boolean isBinary() {
|
||||
return false;
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 263 B |
Binary file not shown.
|
After Width: | Height: | Size: 511 B |
Reference in New Issue
Block a user