public class GeneralCodeStylePanel extends CodeStyleAbstractPanel
Disposable.Parent
ourWrappings
TOPIC
Constructor and Description |
---|
GeneralCodeStylePanel(CodeStyleSettings settings) |
Modifier and Type | Method and Description |
---|---|
void |
apply(CodeStyleSettings settings) |
protected EditorHighlighter |
createHighlighter(EditorColorsScheme scheme) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
Language |
getDefaultLanguage()
Override this method if the panel is linked to a specific language.
|
protected FileType |
getFileType() |
javax.swing.JComponent |
getPanel() |
protected java.lang.String |
getPreviewText() |
protected int |
getRightMargin() |
boolean |
isModified(CodeStyleSettings settings) |
protected void |
resetImpl(CodeStyleSettings settings) |
void |
setModel(CodeStyleSchemesModel model) |
addPanelToWatch, applyPredefinedSettings, createFileFromText, doReformat, fillWrappingCombo, getCurrentSettings, getEditor, getFileExt, getFileTypeExtension, getIndexForWrapping, getModelSettings, getOptionIndexer, getSettings, getTabTitle, highlight, highlightOptions, installPreviewPanel, isCopyFromMenuAvailable, onSomethingChanged, prepareForReformat, processListOptions, readFromFile, reset, setEditorText, setShouldUpdatePreview, setupCopyFromMenu, somethingChanged, updatePreview
public GeneralCodeStylePanel(CodeStyleSettings settings)
protected int getRightMargin()
getRightMargin
in class CodeStyleAbstractPanel
protected FileType getFileType()
getFileType
in class CodeStyleAbstractPanel
protected java.lang.String getPreviewText()
getPreviewText
in class CodeStyleAbstractPanel
public void apply(CodeStyleSettings settings) throws ConfigurationException
apply
in class CodeStyleAbstractPanel
ConfigurationException
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 EditorHighlighter createHighlighter(EditorColorsScheme scheme)
createHighlighter
in class CodeStyleAbstractPanel
public Language getDefaultLanguage()
CodeStyleAbstractPanel
getDefaultLanguage
in class CodeStyleAbstractPanel
public void setModel(CodeStyleSchemesModel model)
setModel
in class CodeStyleAbstractPanel
public void dispose()
Disposable
dispose
in interface Disposable
dispose
in class CodeStyleAbstractPanel