public abstract class ColorSchemeActions extends AbstractSchemeActions<EditorColorsScheme>
mySchemesPanel
Modifier | Constructor and Description |
---|---|
protected |
ColorSchemeActions(AbstractSchemesPanel<EditorColorsScheme,?> schemesPanel) |
Modifier and Type | Method and Description |
---|---|
protected void |
duplicateScheme(EditorColorsScheme scheme,
java.lang.String newName)
Creates a copy of the scheme with a different name.
|
protected void |
exportScheme(Project project,
EditorColorsScheme scheme,
java.lang.String exporterName)
Export the scheme using the given exporter name.
|
protected abstract ColorAndFontOptions |
getOptions() |
protected java.util.Collection<java.lang.String> |
getSchemeImportersNames() |
protected java.lang.Class<EditorColorsScheme> |
getSchemeType() |
protected void |
importScheme(java.lang.String importerName)
Import a scheme using the given importer name.
|
protected void |
resetScheme(EditorColorsScheme scheme)
Reset scheme's settings to their default values (presets).
|
addAdditionalActions, copyToIDE, copyToProject, exportScheme, getActions, getCurrentScheme, getModel, getSchemesPanel, onSchemeChanged, renameScheme
protected ColorSchemeActions(AbstractSchemesPanel<EditorColorsScheme,?> schemesPanel)
protected java.util.Collection<java.lang.String> getSchemeImportersNames()
getSchemeImportersNames
in class AbstractSchemeActions<EditorColorsScheme>
protected void importScheme(java.lang.String importerName)
AbstractSchemeActions
importScheme
in class AbstractSchemeActions<EditorColorsScheme>
importerName
- The importer name.SchemeImporter
,
SchemeImporterEP
protected void resetScheme(EditorColorsScheme scheme)
AbstractSchemeActions
resetScheme
in class AbstractSchemeActions<EditorColorsScheme>
scheme
- The scheme to reset.protected void duplicateScheme(EditorColorsScheme scheme, java.lang.String newName)
AbstractSchemeActions
duplicateScheme
in class AbstractSchemeActions<EditorColorsScheme>
scheme
- The scheme to copy.newName
- New name.protected void exportScheme(Project project, EditorColorsScheme scheme, java.lang.String exporterName)
AbstractSchemeActions
exportScheme
in class AbstractSchemeActions<EditorColorsScheme>
scheme
- The scheme to export.exporterName
- The exporter name.SchemeExporter
,
SchemeExporterEP
protected java.lang.Class<EditorColorsScheme> getSchemeType()
getSchemeType
in class AbstractSchemeActions<EditorColorsScheme>
protected abstract ColorAndFontOptions getOptions()