Search in sources :

Example 6 with InspectionProfileModifiableModel

use of com.intellij.codeInspection.ex.InspectionProfileModifiableModel in project intellij-community by JetBrains.

the class InspectionToolsConfigurable method selectProfile.

@Override
public void selectProfile(InspectionProfileImpl profile) {
    final InspectionProfileModifiableModel modifiableModel = myAbstractSchemesPanel.getModel().getModifiableModelFor(profile);
    showProfile(modifiableModel);
}
Also used : InspectionProfileModifiableModel(com.intellij.codeInspection.ex.InspectionProfileModifiableModel)

Example 7 with InspectionProfileModifiableModel

use of com.intellij.codeInspection.ex.InspectionProfileModifiableModel in project intellij-community by JetBrains.

the class InspectionToolsConfigurable method selectInspectionTool.

@Override
public void selectInspectionTool(String selectedToolShortName) {
    final InspectionProfileModifiableModel inspectionProfile = getSelectedObject();
    final SingleInspectionProfilePanel panel = myAbstractSchemesPanel.getModel().getProfilePanel(inspectionProfile);
    panel.selectInspectionTool(selectedToolShortName);
}
Also used : InspectionProfileModifiableModel(com.intellij.codeInspection.ex.InspectionProfileModifiableModel) SingleInspectionProfilePanel(com.intellij.profile.codeInspection.ui.SingleInspectionProfilePanel)

Aggregations

InspectionProfileModifiableModel (com.intellij.codeInspection.ex.InspectionProfileModifiableModel)7 SingleInspectionProfilePanel (com.intellij.profile.codeInspection.ui.SingleInspectionProfilePanel)4 InspectionProfileImpl (com.intellij.codeInspection.ex.InspectionProfileImpl)2 NotNull (org.jetbrains.annotations.NotNull)2 DescriptionAwareSchemeActions (com.intellij.application.options.schemes.DescriptionAwareSchemeActions)1 FileChooserDescriptor (com.intellij.openapi.fileChooser.FileChooserDescriptor)1 InvalidDataException (com.intellij.openapi.util.InvalidDataException)1 VirtualFile (com.intellij.openapi.vfs.VirtualFile)1 BaseInspectionProfileManager (com.intellij.profile.codeInspection.BaseInspectionProfileManager)1 Alarm (com.intellij.util.Alarm)1 IOException (java.io.IOException)1 Path (java.nio.file.Path)1 Element (org.jdom.Element)1 JDOMException (org.jdom.JDOMException)1 Nullable (org.jetbrains.annotations.Nullable)1