public final class PersistableCodeStyleSchemes extends CodeStyleSchemesImpl implements PersistentStateComponent<Element>
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
CURRENT_SCHEME_NAME |
mySchemeManager| Constructor and Description |
|---|
PersistableCodeStyleSchemes() |
PersistableCodeStyleSchemes(SchemeManagerFactory schemeManagerFactory) |
| Modifier and Type | Method and Description |
|---|---|
Element |
getState() |
void |
loadState(Element state)
This method is called when new component state is loaded.
|
addScheme, createNewScheme, deleteScheme, findSchemeByName, getCurrentScheme, getDefaultScheme, getSchemeManager, setCurrentSchemefindPreferredScheme, getAllSchemes, getInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeComponent, noStateLoadedpublic PersistableCodeStyleSchemes()
public PersistableCodeStyleSchemes(SchemeManagerFactory schemeManagerFactory)
public Element getState()
getState in interface PersistentStateComponent<Element>null value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializerpublic void loadState(Element state)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<Element>state - loaded component stateXmlSerializerUtil.copyBean(Object, Object)