public class TemplateDataLanguageMappings extends LanguagePerFileMappings<Language>
Disposable.Parent
Constructor and Description |
---|
TemplateDataLanguageMappings(Project project) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Language> |
getAvailableValues() |
Language |
getDefaultMapping(VirtualFile file) |
static Language |
getDefaultMappingForFile(VirtualFile file) |
protected FilePropertyPusher<Language> |
getFilePropertyPusher() |
static TemplateDataLanguageMappings |
getInstance(Project project) |
Language |
getMapping(VirtualFile file) |
static java.util.List<Language> |
getTemplateableLanguages() |
protected java.lang.String |
serialize(Language language) |
getProject, getValueAttribute
cleanupForNextTest, dispose, getConfiguredMapping, getDirectlyConfiguredMapping, getImmediateMapping, getMappings, getNotInHierarchy, getState, handleUnknownMapping, hasMappings, loadState, setMapping, setMappings, shouldReparseFiles
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMappings, setMapping, setMappings
initializeComponent, noStateLoaded
public TemplateDataLanguageMappings(Project project)
public static TemplateDataLanguageMappings getInstance(Project project)
protected java.lang.String serialize(Language language)
serialize
in class PerFileMappingsBase<Language>
public java.util.List<Language> getAvailableValues()
getAvailableValues
in class PerFileMappingsBase<Language>
public Language getMapping(VirtualFile file)
getMapping
in interface PerFileMappings<Language>
getMapping
in class PerFileMappingsBase<Language>
public Language getDefaultMapping(VirtualFile file)
getDefaultMapping
in interface PerFileMappings<Language>
getDefaultMapping
in class PerFileMappingsBase<Language>
public static Language getDefaultMappingForFile(VirtualFile file)
public static java.util.List<Language> getTemplateableLanguages()
protected FilePropertyPusher<Language> getFilePropertyPusher()
getFilePropertyPusher
in class PerFileMappingsBase<Language>