public class ErrorTreeViewConfiguration extends java.lang.Object implements PersistentStateComponent<ErrorTreeViewConfiguration>
Modifier and Type | Field and Description |
---|---|
boolean |
HIDE_INFO_MESSAGES |
boolean |
HIDE_WARNINGS |
boolean |
IS_AUTOSCROLL_TO_SOURCE |
Constructor and Description |
---|
ErrorTreeViewConfiguration() |
Modifier and Type | Method and Description |
---|---|
static ErrorTreeViewConfiguration |
getInstance(Project project) |
ErrorTreeViewConfiguration |
getState() |
boolean |
isAutoscrollToSource() |
boolean |
isHideInfoMessages() |
boolean |
isHideWarnings() |
void |
loadState(ErrorTreeViewConfiguration state)
This method is called when new component state is loaded.
|
void |
setAutoscrollToSource(boolean autoscroll) |
void |
setHideInfoMessages(boolean value) |
void |
setHideWarnings(boolean value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public boolean IS_AUTOSCROLL_TO_SOURCE
public boolean HIDE_WARNINGS
public boolean HIDE_INFO_MESSAGES
public static ErrorTreeViewConfiguration getInstance(Project project)
public boolean isAutoscrollToSource()
public void setAutoscrollToSource(boolean autoscroll)
public boolean isHideWarnings()
public void setHideWarnings(boolean value)
public boolean isHideInfoMessages()
public void setHideInfoMessages(boolean value)
public ErrorTreeViewConfiguration getState()
getState
in interface PersistentStateComponent<ErrorTreeViewConfiguration>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(ErrorTreeViewConfiguration state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<ErrorTreeViewConfiguration>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)