public final class ScopeToolState
extends java.lang.Object
Constructor and Description |
---|
ScopeToolState(NamedScope scope,
InspectionToolWrapper<?,?> toolWrapper,
boolean enabled,
HighlightDisplayLevel level) |
ScopeToolState(java.lang.String scopeName,
InspectionToolWrapper<?,?> toolWrapper,
boolean enabled,
HighlightDisplayLevel level) |
Modifier and Type | Method and Description |
---|---|
static boolean |
areSettingsEqual(InspectionToolWrapper<?,?> toolWrapper,
InspectionToolWrapper<?,?> toolWrapper2) |
ScopeToolState |
copy() |
boolean |
equalTo(ScopeToolState state2) |
javax.swing.JComponent |
getAdditionalConfigPanel() |
HighlightDisplayLevel |
getLevel() |
NamedScope |
getScope(Project project) |
java.lang.String |
getScopeName() |
InspectionToolWrapper<?,?> |
getTool() |
boolean |
isEnabled() |
void |
resetConfigPanel() |
void |
scopesChanged() |
void |
setEnabled(boolean enabled) |
void |
setLevel(HighlightDisplayLevel level) |
void |
setTool(InspectionToolWrapper<?,?> tool) |
static void |
tryReadSettings(InspectionProfileEntry entry,
Element node) |
static void |
tryWriteSettings(InspectionProfileEntry entry,
Element node) |
public ScopeToolState(NamedScope scope, InspectionToolWrapper<?,?> toolWrapper, boolean enabled, HighlightDisplayLevel level)
public ScopeToolState(java.lang.String scopeName, InspectionToolWrapper<?,?> toolWrapper, boolean enabled, HighlightDisplayLevel level)
public ScopeToolState copy()
public NamedScope getScope(Project project)
public java.lang.String getScopeName()
public InspectionToolWrapper<?,?> getTool()
public boolean isEnabled()
public HighlightDisplayLevel getLevel()
public void setEnabled(boolean enabled)
public void setLevel(HighlightDisplayLevel level)
public javax.swing.JComponent getAdditionalConfigPanel()
public void resetConfigPanel()
public void setTool(InspectionToolWrapper<?,?> tool)
public boolean equalTo(ScopeToolState state2)
public static boolean areSettingsEqual(InspectionToolWrapper<?,?> toolWrapper, InspectionToolWrapper<?,?> toolWrapper2)
public void scopesChanged()
public static void tryReadSettings(InspectionProfileEntry entry, Element node) throws InvalidDataException
InvalidDataException
public static void tryWriteSettings(InspectionProfileEntry entry, Element node) throws WriteExternalException
WriteExternalException