public abstract class CustomCodeStyleSettings
extends java.lang.Object
implements java.lang.Cloneable
Modifier | Constructor and Description |
---|---|
protected |
CustomCodeStyleSettings(java.lang.String tagName,
CodeStyleSettings container) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterLoaded()
Fired when settings just loaded.
|
protected void |
beforeLoading()
Fired before loading.
|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
CodeStyleSettings |
getContainer() |
java.util.List<java.lang.String> |
getKnownTagNames()
in case settings save additional top-level tags, list the list of them to prevent serializer to treat such tag as unknown settings.
|
java.lang.String |
getTagName() |
protected void |
importLegacySettings(CodeStyleSettings rootSettings)
For compatibility with old code style settings stored in CodeStyleSettings.
|
void |
readExternal(Element parentElement) |
void |
writeExternal(Element parentElement,
CustomCodeStyleSettings parentSettings) |
protected CustomCodeStyleSettings(java.lang.String tagName, CodeStyleSettings container)
public final CodeStyleSettings getContainer()
public final java.lang.String getTagName()
public java.util.List<java.lang.String> getKnownTagNames()
public void readExternal(Element parentElement) throws InvalidDataException
InvalidDataException
public void writeExternal(Element parentElement, CustomCodeStyleSettings parentSettings) throws WriteExternalException
WriteExternalException
public java.lang.Object clone()
clone
in class java.lang.Object
protected void importLegacySettings(CodeStyleSettings rootSettings)
protected void beforeLoading()
protected void afterLoaded()
When the common version (the CodeStyleSettings.myVersion
is not changed, this method is called just after loading.
When the common version is changed, this method called after importLegacySettings(com.intellij.psi.codeStyle.CodeStyleSettings)
.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object