mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
vcs: remove dead code
This tree expander is no longer used in toolwindow header.
follow-up: 53d18a62e1
This commit is contained in:
@@ -29,7 +29,6 @@ import com.intellij.openapi.vcs.changes.actions.IgnoredSettingsAction;
|
||||
import com.intellij.openapi.vcs.changes.actions.ShowDiffPreviewAction;
|
||||
import com.intellij.openapi.vcs.changes.ui.*;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.openapi.wm.ToolWindow;
|
||||
import com.intellij.psi.impl.DebugUtil;
|
||||
import com.intellij.ui.JBColor;
|
||||
import com.intellij.ui.ScrollPaneFactory;
|
||||
@@ -455,12 +454,6 @@ public class ChangesViewManager implements ChangesViewI, ProjectComponent, Persi
|
||||
super(myView);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isVisible(AnActionEvent event) {
|
||||
ToolWindow toolWindow = event.getData(PlatformDataKeys.TOOL_WINDOW);
|
||||
return toolWindow != null && toolWindow.getContentManager().getSelectedContent() == myContent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void collapseAll() {
|
||||
TreeUtil.collapseAll(myView, 2);
|
||||
|
||||
Reference in New Issue
Block a user