mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
WI-58667 Don't show browser icons for PHP single class files
OpenInBrowserEditorContextBarGroupAction has been overridden on the PhpStorm's side (cherry picked from commit 12c73b4e7fe1c11bbc572bf481e36b66ff70fe67) IJ-CR-149221 GitOrigin-RevId: c1f0c4a73798f799a7629d194c29cba9c023e1f8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
22d0946a42
commit
357d50b71f
@@ -3329,8 +3329,9 @@ a:com.intellij.ide.browsers.actions.OpenInBrowserBaseGroupAction
|
||||
- p:<init>(Z):V
|
||||
- getActionUpdateThread():com.intellij.openapi.actionSystem.ActionUpdateThread
|
||||
- getChildren(com.intellij.openapi.actionSystem.AnActionEvent):com.intellij.openapi.actionSystem.AnAction[]
|
||||
- s:hasLocalBrowser():Z
|
||||
- update(com.intellij.openapi.actionSystem.AnActionEvent):V
|
||||
f:com.intellij.ide.browsers.actions.OpenInBrowserBaseGroupAction$OpenInBrowserEditorContextBarGroupAction
|
||||
c:com.intellij.ide.browsers.actions.OpenInBrowserBaseGroupAction$OpenInBrowserEditorContextBarGroupAction
|
||||
- com.intellij.ide.browsers.actions.OpenInBrowserBaseGroupAction
|
||||
- <init>():V
|
||||
- update(com.intellij.openapi.actionSystem.AnActionEvent):V
|
||||
|
||||
@@ -85,7 +85,7 @@ public abstract class OpenInBrowserBaseGroupAction extends ActionGroup implement
|
||||
return ActionUpdateThread.BGT;
|
||||
}
|
||||
|
||||
private static boolean hasLocalBrowser() {
|
||||
public static boolean hasLocalBrowser() {
|
||||
return JBCefApp.isSupported() && Registry.is("ide.web.preview.enabled", true);
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ public abstract class OpenInBrowserBaseGroupAction extends ActionGroup implement
|
||||
}
|
||||
}
|
||||
|
||||
public static final class OpenInBrowserEditorContextBarGroupAction extends OpenInBrowserBaseGroupAction {
|
||||
public static class OpenInBrowserEditorContextBarGroupAction extends OpenInBrowserBaseGroupAction {
|
||||
public OpenInBrowserEditorContextBarGroupAction() {
|
||||
super(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user