public class CodeStyleSchemeXmlImporter extends CodeStyleSettingsLoader implements SchemeImporter<CodeStyleScheme>
Constructor and Description |
---|
CodeStyleSchemeXmlImporter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String [] |
getSourceExtensions() |
CodeStyleScheme |
importScheme(Project project,
VirtualFile selectedFile,
CodeStyleScheme currentScheme,
SchemeFactory<CodeStyleScheme> schemeFactory)
Import a scheme from the given virtual file
|
findSchemeRoot, loadSettings, loadSettings
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdditionalImportInfo, getImportFile
public java.lang.String [] getSourceExtensions()
getSourceExtensions
in interface SchemeImporter<CodeStyleScheme>
public CodeStyleScheme importScheme(Project project, VirtualFile selectedFile, CodeStyleScheme currentScheme, SchemeFactory<CodeStyleScheme> schemeFactory) throws SchemeImportException
SchemeImporter
importScheme
in interface SchemeImporter<CodeStyleScheme>
project
- projectselectedFile
- The input file to import from.currentScheme
- source scheme to be updated or to base import onschemeFactory
- The factory to create a scheme with a given name. Importer implementation should use this method
to create a scheme to which it will save imported values.SchemeImportException
SchemeFactory