public class AnalysisUIOptions extends java.lang.Object implements PersistentStateComponent<AnalysisUIOptions>
Modifier and Type | Field and Description |
---|---|
boolean |
ANALYSIS_IN_BACKGROUND |
boolean |
ANALYZE_TEST_SOURCES |
boolean |
AUTOSCROLL_TO_SOURCE |
java.lang.String |
CUSTOM_SCOPE_NAME |
java.lang.String |
FILE_MASK |
boolean |
FILTER_RESOLVED_ITEMS |
boolean |
GROUP_BY_SEVERITY |
int |
SCOPE_TYPE |
boolean |
SHOW_STRUCTURE |
float |
SPLITTER_PROPORTION |
Constructor and Description |
---|
AnalysisUIOptions() |
Modifier and Type | Method and Description |
---|---|
AnAction |
createFilterResolvedItemsAction(InspectionResultsView view) |
AnAction |
createGroupByDirectoryAction(InspectionResultsView view) |
AnAction |
createGroupBySeverityAction(InspectionResultsView view) |
AutoScrollToSourceHandler |
getAutoScrollToSourceHandler() |
static AnalysisUIOptions |
getInstance(Project project) |
AnalysisUIOptions |
getState() |
void |
loadState(AnalysisUIOptions 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 AUTOSCROLL_TO_SOURCE
public float SPLITTER_PROPORTION
public volatile boolean GROUP_BY_SEVERITY
public volatile boolean FILTER_RESOLVED_ITEMS
public boolean ANALYZE_TEST_SOURCES
public int SCOPE_TYPE
public java.lang.String CUSTOM_SCOPE_NAME
public volatile boolean SHOW_STRUCTURE
public java.lang.String FILE_MASK
public boolean ANALYSIS_IN_BACKGROUND
public static AnalysisUIOptions getInstance(Project project)
public AutoScrollToSourceHandler getAutoScrollToSourceHandler()
public AnAction createGroupBySeverityAction(InspectionResultsView view)
public AnAction createFilterResolvedItemsAction(InspectionResultsView view)
public AnAction createGroupByDirectoryAction(InspectionResultsView view)
public AnalysisUIOptions getState()
getState
in interface PersistentStateComponent<AnalysisUIOptions>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(AnalysisUIOptions state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<AnalysisUIOptions>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)