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, loadSettingsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAdditionalImportInfo, getImportFilepublic java.lang.String [] getSourceExtensions()
getSourceExtensions in interface SchemeImporter<CodeStyleScheme>public CodeStyleScheme importScheme(Project project, VirtualFile selectedFile, CodeStyleScheme currentScheme, SchemeFactory<CodeStyleScheme> schemeFactory) throws SchemeImportException
SchemeImporterimportScheme 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.SchemeImportExceptionSchemeFactory