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