public abstract class CodeStyleSettingsProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<CodeStyleSettingsProvider> |
EXTENSION_POINT_NAME |
Constructor and Description |
---|
CodeStyleSettingsProvider() |
Modifier and Type | Method and Description |
---|---|
CodeStyleConfigurable |
createConfigurable(CodeStyleSettings settings,
CodeStyleSettings modelSettings)
Creates a code style configurable.
|
CustomCodeStyleSettings |
createCustomSettings(CodeStyleSettings settings) |
Configurable |
createSettingsPage(CodeStyleSettings settings,
CodeStyleSettings modelSettings)
Deprecated.
|
java.lang.String |
getConfigurableDisplayName()
Returns the name of the configurable page without creating a Configurable instance.
|
CodeStyleGroup |
getGroup() |
Language |
getLanguage()
Specifies a language this provider applies to.
|
DisplayPriority |
getPriority() |
boolean |
hasSettingsPage() |
public static final ExtensionPointName<CodeStyleSettingsProvider> EXTENSION_POINT_NAME
public CustomCodeStyleSettings createCustomSettings(CodeStyleSettings settings)
@Deprecated public Configurable createSettingsPage(CodeStyleSettings settings, CodeStyleSettings modelSettings)
createConfigurable(CodeStyleSettings, CodeStyleSettings)
or
LanguageCodeStyleSettingsProvider.createConfigurable(CodeStyleSettings, CodeStyleSettings)
for language settings.public CodeStyleConfigurable createConfigurable(CodeStyleSettings settings, CodeStyleSettings modelSettings)
settings
- The original settings.modelSettings
- The model settings.public java.lang.String getConfigurableDisplayName()
public boolean hasSettingsPage()
public DisplayPriority getPriority()
public Language getLanguage()
getConfigurableDisplayName()
is not
overridden.public CodeStyleGroup getGroup()
CodeStyleGroup
instance if a configurable returned by createConfigurable(CodeStyleSettings, CodeStyleSettings)
is a part of a code style group or null
if the configurable must be shown directly under "Code Style" settings node.CodeStyleGroup