mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
[codeInspection.ui] Delete RegExpAdvertiser#getActions
IJ-CR-117041 GitOrigin-RevId: e4657b48961f96489fcfa6458a70979e029e7563
This commit is contained in:
committed by
intellij-monorepo-bot
parent
17aab5683e
commit
ff764c7aad
@@ -1,22 +1,12 @@
|
||||
package org.intellij.lang.regexp.inspection.custom;
|
||||
|
||||
import com.intellij.openapi.actionSystem.AnAction;
|
||||
import com.intellij.profile.codeInspection.ui.InspectionTreeAdvertiser;
|
||||
import com.intellij.profile.codeInspection.ui.SingleInspectionProfilePanel;
|
||||
import org.intellij.lang.regexp.RegExpBundle;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class RegExpAdvertiser extends InspectionTreeAdvertiser {
|
||||
|
||||
@Override
|
||||
public @NotNull List<AnAction> getActions(SingleInspectionProfilePanel panel) {
|
||||
return List.of(
|
||||
new RegExpProfileActionProvider.AddCustomRegExpInspectionAction(panel, RegExpBundle.message("inspection.tree.create.inspection"), false)
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<CustomGroup> getCustomGroups() {
|
||||
return List.of(
|
||||
|
||||
Reference in New Issue
Block a user