public class SelectTemplateSettings extends java.lang.Object implements PersistentStateComponent<SelectTemplateSettings>
Modifier and Type | Field and Description |
---|---|
boolean |
EXPERT_MODE |
java.lang.String |
LAST_TEMPLATE |
Constructor and Description |
---|
SelectTemplateSettings() |
Modifier and Type | Method and Description |
---|---|
static SelectTemplateSettings |
getInstance() |
java.lang.String |
getLastGroup() |
java.lang.String |
getLastTemplate() |
SelectTemplateSettings |
getState() |
void |
loadState(SelectTemplateSettings state)
This method is called when new component state is loaded.
|
void |
setLastTemplate(java.lang.String group,
java.lang.String template) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public boolean EXPERT_MODE
public java.lang.String LAST_TEMPLATE
public static SelectTemplateSettings getInstance()
public java.lang.String getLastGroup()
public java.lang.String getLastTemplate()
public void setLastTemplate(java.lang.String group, java.lang.String template)
public SelectTemplateSettings getState()
getState
in interface PersistentStateComponent<SelectTemplateSettings>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(SelectTemplateSettings state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<SelectTemplateSettings>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)