public abstract class InspectionToolsConfigurable extends java.lang.Object implements ErrorsConfigurable, SearchableConfigurable, Configurable.NoScroll
SearchableConfigurable.Delegate, SearchableConfigurable.Merged, SearchableConfigurable.ParentConfigurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID |
protected BaseInspectionProfileManager |
myApplicationProfileManager |
protected ProjectInspectionProfileManager |
myProjectProfileManager |
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE| Constructor and Description |
|---|
InspectionToolsConfigurable(ProjectInspectionProfileManager projectProfileManager) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
acceptTool(InspectionToolWrapper entry) |
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
protected abstract void |
applyRootProfile(java.lang.String name,
boolean isProjectLevel) |
javax.swing.JComponent |
createComponent()
Creates new Swing form that enables user to configure the settings.
|
SingleInspectionProfilePanel |
createPanel(InspectionProfileModifiableModel profile) |
void |
disposeUIResources()
Notifies the configurable component that the Swing form will be closed.
|
java.lang.Runnable |
enableSearch(java.lang.String option) |
protected abstract InspectionProfileImpl |
getCurrentProfile() |
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
java.lang.String |
getHelpTopic()
Returns the topic in the help file which is shown when help for the configurable is requested.
|
java.lang.String |
getId()
Unique configurable id.
|
static java.lang.String |
getInspectionsDisplayName() |
javax.swing.JComponent |
getPreferredFocusedComponent() |
InspectionProfileModifiableModel |
getSelectedObject() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
void |
selectInspectionGroup(java.lang.String[] groupPath) |
void |
selectInspectionTool(java.lang.String selectedToolShortName) |
void |
selectProfile(InspectionProfileImpl profile) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOriginalClassisModified, isModified, isModified, isModifiedcancelpublic static final java.lang.String ID
protected final BaseInspectionProfileManager myApplicationProfileManager
protected final ProjectInspectionProfileManager myProjectProfileManager
public InspectionToolsConfigurable(ProjectInspectionProfileManager projectProfileManager)
public java.lang.String getDisplayName()
ConfigurablegetDisplayName in interface Configurablepublic java.lang.String getHelpTopic()
ConfigurablegetHelpTopic in interface Configurablenull if no help is availablepublic java.lang.String getId()
SearchableConfigurablegetId in interface SearchableConfigurableConfigurableEP.idpublic java.lang.Runnable enableSearch(java.lang.String option)
enableSearch in interface SearchableConfigurableoption - setting search querypublic javax.swing.JComponent createComponent()
UnnamedConfigurableAlso this place is designed to allocate resources (subscriptions/listeners etc.)
createComponent in interface UnnamedConfigurablenull if it cannot be createdUnnamedConfigurable.disposeUIResources()protected abstract InspectionProfileImpl getCurrentProfile()
public boolean isModified()
UnnamedConfigurableisModified in interface UnnamedConfigurabletrue if the settings were modified, false otherwisepublic void apply()
UnnamedConfigurableapply in interface UnnamedConfigurableprotected abstract void applyRootProfile(java.lang.String name,
boolean isProjectLevel)
protected boolean acceptTool(InspectionToolWrapper entry)
public void reset()
UnnamedConfigurablereset in interface UnnamedConfigurablepublic SingleInspectionProfilePanel createPanel(InspectionProfileModifiableModel profile)
public void disposeUIResources()
UnnamedConfigurabledisposeUIResources in interface UnnamedConfigurablepublic void selectProfile(InspectionProfileImpl profile)
selectProfile in interface ErrorsConfigurablepublic void selectInspectionTool(java.lang.String selectedToolShortName)
selectInspectionTool in interface ErrorsConfigurablepublic void selectInspectionGroup(java.lang.String[] groupPath)
selectInspectionGroup in interface ErrorsConfigurablepublic InspectionProfileModifiableModel getSelectedObject()
getSelectedObject in interface ErrorsConfigurablepublic javax.swing.JComponent getPreferredFocusedComponent()
getPreferredFocusedComponent in interface Configurablepublic static java.lang.String getInspectionsDisplayName()