public class ColorSchemeImporter extends java.lang.Object implements SchemeImporter<EditorColorsScheme>
Constructor and Description |
---|
ColorSchemeImporter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String [] |
getSourceExtensions() |
EditorColorsScheme |
importScheme(Project project,
VirtualFile selectedFile,
EditorColorsScheme currentScheme,
SchemeFactory<EditorColorsScheme> schemeFactory)
Import a scheme from the given virtual file
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdditionalImportInfo, getImportFile
public java.lang.String [] getSourceExtensions()
getSourceExtensions
in interface SchemeImporter<EditorColorsScheme>
public EditorColorsScheme importScheme(Project project, VirtualFile selectedFile, EditorColorsScheme currentScheme, SchemeFactory<EditorColorsScheme> schemeFactory) throws SchemeImportException
SchemeImporter
importScheme
in interface SchemeImporter<EditorColorsScheme>
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