protected class TabbedLanguageCodeStylePanel.MyIndentOptionsWrapper extends CodeStyleAbstractPanel
Disposable.Parent
ourWrappings
TOPIC
Modifier | Constructor and Description |
---|---|
protected |
MyIndentOptionsWrapper(CodeStyleSettings settings,
IndentOptionsEditor editor) |
protected |
MyIndentOptionsWrapper(CodeStyleSettings settings,
LanguageCodeStyleSettingsProvider provider,
IndentOptionsEditor editor)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(CodeStyleSettings settings) |
protected EditorHighlighter |
createHighlighter(EditorColorsScheme scheme) |
Language |
getDefaultLanguage()
Override this method if the panel is linked to a specific language.
|
protected java.lang.String |
getFileExt() |
protected FileType |
getFileType() |
protected CommonCodeStyleSettings.IndentOptions |
getIndentOptions(CodeStyleSettings settings) |
javax.swing.JComponent |
getPanel() |
protected java.lang.String |
getPreviewText() |
protected int |
getRightMargin() |
protected java.lang.String |
getTabTitle() |
boolean |
isModified(CodeStyleSettings settings) |
void |
onSomethingChanged()
This method is called on any UI changes (controls altered or initialized, preview updated, etc.).
|
protected void |
resetImpl(CodeStyleSettings settings) |
addPanelToWatch, applyPredefinedSettings, createFileFromText, dispose, doReformat, fillWrappingCombo, getCurrentSettings, getEditor, getFileTypeExtension, getIndexForWrapping, getModelSettings, getOptionIndexer, getSettings, highlight, highlightOptions, installPreviewPanel, isCopyFromMenuAvailable, prepareForReformat, processListOptions, readFromFile, reset, setEditorText, setModel, setShouldUpdatePreview, setupCopyFromMenu, somethingChanged, updatePreview
@Deprecated protected MyIndentOptionsWrapper(CodeStyleSettings settings, LanguageCodeStyleSettingsProvider provider, IndentOptionsEditor editor)
MyIndentOptionsWrapper(CodeStyleSettings, IndentOptionsEditor)
protected MyIndentOptionsWrapper(CodeStyleSettings settings, IndentOptionsEditor editor)
protected int getRightMargin()
getRightMargin
in class CodeStyleAbstractPanel
protected EditorHighlighter createHighlighter(EditorColorsScheme scheme)
createHighlighter
in class CodeStyleAbstractPanel
protected FileType getFileType()
getFileType
in class CodeStyleAbstractPanel
protected java.lang.String getPreviewText()
getPreviewText
in class CodeStyleAbstractPanel
protected java.lang.String getFileExt()
getFileExt
in class CodeStyleAbstractPanel
public void apply(CodeStyleSettings settings)
apply
in class CodeStyleAbstractPanel
public boolean isModified(CodeStyleSettings settings)
isModified
in class CodeStyleAbstractPanel
public javax.swing.JComponent getPanel()
getPanel
in class CodeStyleAbstractPanel
protected void resetImpl(CodeStyleSettings settings)
resetImpl
in class CodeStyleAbstractPanel
protected CommonCodeStyleSettings.IndentOptions getIndentOptions(CodeStyleSettings settings)
public Language getDefaultLanguage()
CodeStyleAbstractPanel
getDefaultLanguage
in class CodeStyleAbstractPanel
protected java.lang.String getTabTitle()
getTabTitle
in class CodeStyleAbstractPanel
public void onSomethingChanged()
CodeStyleAbstractPanel
onSomethingChanged
in class CodeStyleAbstractPanel