Back to project page sres.
The source code is released under:
Apache License
If you think the Android project sres listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package me.tatarka.sres.idea; // w ww.j a va 2s. c o m import com.intellij.openapi.fileTypes.LanguageFileType; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import javax.swing.*; /** * Created by evan on 3/2/14. */ public class SResFileType extends LanguageFileType { public static final SResFileType INSTANCE = new SResFileType(); protected SResFileType() { super(SResLanguage.INSTANCE); } @NotNull @Override public String getName() { return "SRes file"; } @NotNull @Override public String getDescription() { return "SRes language file"; } @NotNull @Override public String getDefaultExtension() { return "sres"; } @Nullable @Override public Icon getIcon() { return SResIcons.FILE; } }