kotlin icon
This commit is contained in:
@@ -4,13 +4,14 @@
|
|||||||
package org.jetbrains.jet.plugin;
|
package org.jetbrains.jet.plugin;
|
||||||
|
|
||||||
import com.intellij.openapi.fileTypes.LanguageFileType;
|
import com.intellij.openapi.fileTypes.LanguageFileType;
|
||||||
import com.intellij.util.Icons;
|
import com.intellij.openapi.util.IconLoader;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
|
|
||||||
public class JetFileType extends LanguageFileType {
|
public class JetFileType extends LanguageFileType {
|
||||||
public static final JetFileType INSTANCE = new JetFileType();
|
public static final JetFileType INSTANCE = new JetFileType();
|
||||||
|
private final Icon myIcon = IconLoader.getIcon("/org/jetbrains/jet/plugin/icons/kotlin16x16.png");
|
||||||
|
|
||||||
private JetFileType() {
|
private JetFileType() {
|
||||||
super(JetLanguage.INSTANCE);
|
super(JetLanguage.INSTANCE);
|
||||||
@@ -32,7 +33,7 @@ public class JetFileType extends LanguageFileType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Icon getIcon() {
|
public Icon getIcon() {
|
||||||
return Icons.PROJECT_ICON;
|
return myIcon;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 473 B |
Reference in New Issue
Block a user