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