public class InspectionProblemsView extends java.lang.Object implements PersistentStateComponent<com.intellij.analysis.problemsView.inspection.InspectionProblemsViewSettings>
Constructor and Description |
---|
InspectionProblemsView(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
clearAll() |
VirtualFile |
getCurrentFile() |
static InspectionProblemsView |
getInstance(Project project) |
com.intellij.analysis.problemsView.inspection.InspectionProblemsViewSettings |
getState() |
void |
loadState(com.intellij.analysis.problemsView.inspection.InspectionProblemsViewSettings state)
This method is called when new component state is loaded.
|
void |
showErrorNotification(java.lang.String title,
java.lang.String content,
javax.swing.Icon icon) |
void |
showErrorNotificationTerse(java.lang.String title) |
void |
showWarningNotification(java.lang.String title,
java.lang.String content,
javax.swing.Icon icon) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public InspectionProblemsView(Project project)
public static InspectionProblemsView getInstance(Project project)
public VirtualFile getCurrentFile()
public void showWarningNotification(java.lang.String title, java.lang.String content, javax.swing.Icon icon)
public void showErrorNotificationTerse(java.lang.String title)
public void showErrorNotification(java.lang.String title, java.lang.String content, javax.swing.Icon icon)
public com.intellij.analysis.problemsView.inspection.InspectionProblemsViewSettings getState()
getState
in interface PersistentStateComponent<com.intellij.analysis.problemsView.inspection.InspectionProblemsViewSettings>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(com.intellij.analysis.problemsView.inspection.InspectionProblemsViewSettings state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<com.intellij.analysis.problemsView.inspection.InspectionProblemsViewSettings>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public void clearAll()