mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add isEnabled(Project) to OptionTopHitProvider
This commit is contained in:
@@ -61,6 +61,10 @@ public abstract class OptionsTopHitProvider implements SearchTopHitProvider {
|
||||
|
||||
public abstract String getId();
|
||||
|
||||
public boolean isEnabled(@Nullable Project project) {
|
||||
return true;
|
||||
}
|
||||
|
||||
static String messageApp(String property) {
|
||||
return StringUtil.stripHtml(ApplicationBundle.message(property), false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user