public class XmlLanguageCodeStyleSettingsProvider extends LanguageCodeStyleSettingsProvider
LanguageCodeStyleSettingsProvider.SettingsType
EP_NAME
EXTENSION_POINT_NAME
Constructor and Description |
---|
XmlLanguageCodeStyleSettingsProvider() |
Modifier and Type | Method and Description |
---|---|
CodeStyleConfigurable |
createConfigurable(CodeStyleSettings baseSettings,
CodeStyleSettings modelSettings)
Create a code style configurable for the given base settings and model settings.
|
CustomCodeStyleSettings |
createCustomSettings(CodeStyleSettings settings) |
protected void |
customizeDefaults(CommonCodeStyleSettings commonSettings,
CommonCodeStyleSettings.IndentOptions indentOptions)
Customize default settings: set values which are different from the ones after
CommonCodeStyleSettings initialization. |
void |
customizeSettings(CodeStyleSettingsCustomizable consumer,
LanguageCodeStyleSettingsProvider.SettingsType settingsType) |
CodeStyleFieldAccessor |
getAccessor(java.lang.Object codeStyleObject,
java.lang.reflect.Field field) |
java.lang.String |
getCodeSample(LanguageCodeStyleSettingsProvider.SettingsType settingsType) |
static java.lang.String |
getConfigurableDisplayNameText() |
IndentOptionsEditor |
getIndentOptionsEditor() |
Language |
getLanguage()
Specifies a language this provider applies to.
|
calcSettingPagesProviders, createFileFromText, createFileFromText, findUsingBaseLanguage, forLanguage, getAdditionalAccessors, getApplicableLanguages, getCodeSample, getDefaultCommonSettings, getDefaultCommonSettings, getDisplayPriority, getDisplayPriority, getDocCommentSettings, getExternalLanguageId, getFileExt, getFileExt, getLanguage, getLanguageName, getLanguageName, getLanguagesWithCodeStyleSettings, getPredefinedCodeStyles, getPropertyMapper, getRightMargin, getRightMargin, getSettingsPagesProviders, getSupportedFields, getSupportedFields, resetSettingsPagesProviders, supportsExternalFormats
createSettingsPage, getConfigurableDisplayName, getGroup, getPriority, hasSettingsPage
public XmlLanguageCodeStyleSettingsProvider()
public CodeStyleConfigurable createConfigurable(CodeStyleSettings baseSettings, CodeStyleSettings modelSettings)
LanguageCodeStyleSettingsProvider
createConfigurable
in class LanguageCodeStyleSettingsProvider
baseSettings
- The base (initial) settings before changes.modelSettings
- The settings to which UI changes are applied.CodeStyleConfigurable
public CustomCodeStyleSettings createCustomSettings(CodeStyleSettings settings)
createCustomSettings
in class CodeStyleSettingsProvider
public Language getLanguage()
CodeStyleSettingsProvider
getConfigurableDisplayName()
is not
overridden.getLanguage
in class LanguageCodeStyleSettingsProvider
public java.lang.String getCodeSample(LanguageCodeStyleSettingsProvider.SettingsType settingsType)
getCodeSample
in class LanguageCodeStyleSettingsProvider
public void customizeSettings(CodeStyleSettingsCustomizable consumer, LanguageCodeStyleSettingsProvider.SettingsType settingsType)
customizeSettings
in class LanguageCodeStyleSettingsProvider
protected void customizeDefaults(CommonCodeStyleSettings commonSettings, CommonCodeStyleSettings.IndentOptions indentOptions)
LanguageCodeStyleSettingsProvider
CommonCodeStyleSettings
initialization.customizeDefaults
in class LanguageCodeStyleSettingsProvider
commonSettings
- Customizable instance of common settings for the language.indentOptions
- Customizable instance of indent options for the language.public IndentOptionsEditor getIndentOptionsEditor()
getIndentOptionsEditor
in class LanguageCodeStyleSettingsProvider
public CodeStyleFieldAccessor getAccessor(java.lang.Object codeStyleObject, java.lang.reflect.Field field)
getAccessor
in class LanguageCodeStyleSettingsProvider
public static java.lang.String getConfigurableDisplayNameText()