void (@NotNull InspectionProfileModifiableModel profile) { final SingleInspectionProfilePanel panel = myAbstractSchemesPanel.getModel().getProfilePanel(profile); if (myAbstractSchemesPanel.getModel().getProfilePanels().contains(panel)) { myProfilePanelHolder.add(panel); } for (Component component : myProfilePanelHolder.getComponents()) { component.setVisible(component == panel); } myAbstractSchemesPanel.selectScheme(profile); }