mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[UI, Problems] IJPL-242950 Make the toolbar always visible
Remove the corresponding state property, as it's always visible now. Reviewed at IJ-CR-209740. (cherry picked from commit b87d97113c2578d741d9764f5cc0ab8f74a5b006) GitOrigin-RevId: 97c2433d4baf570025162b512ea3436ef3f1c0c6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
53b70f6010
commit
0d09220b82
@@ -126,7 +126,6 @@ c:com.intellij.analysis.problemsView.toolWindow.ProblemsViewState
|
||||
- f:getProportion():F
|
||||
- f:getSelectedTabId():java.lang.String
|
||||
- f:getShowPreview():Z
|
||||
- f:getShowToolbar():Z
|
||||
- f:getSortFoldersFirst():Z
|
||||
- f:removeAllSeverities(java.util.Collection):Z
|
||||
- f:removeSeverity(I):Z
|
||||
@@ -135,7 +134,6 @@ c:com.intellij.analysis.problemsView.toolWindow.ProblemsViewState
|
||||
- f:setProportion(F):V
|
||||
- f:setSelectedTabId(java.lang.String):V
|
||||
- f:setShowPreview(Z):V
|
||||
- f:setShowToolbar(Z):V
|
||||
- f:setSortFoldersFirst(Z):V
|
||||
f:com.intellij.analysis.problemsView.toolWindow.ProblemsViewToolWindowUtils
|
||||
- sf:INSTANCE:com.intellij.analysis.problemsView.toolWindow.ProblemsViewToolWindowUtils
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.analysis.problemsView.toolWindow;
|
||||
|
||||
import com.intellij.ide.actions.ToggleToolbarAction;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.editor.Document;
|
||||
import com.intellij.openapi.editor.ex.RangeHighlighterEx;
|
||||
@@ -158,7 +157,6 @@ public final class ProblemsView implements DumbAware, ToolWindowFactory {
|
||||
public void createToolWindowContent(@NotNull Project project, @NotNull ToolWindow window) {
|
||||
ThreadingAssertions.assertEventDispatchThread();
|
||||
ProblemsViewState state = ProblemsViewState.getInstance(project);
|
||||
state.setShowToolbar(ToggleToolbarAction.isToolbarVisible(window, project));
|
||||
ContentManager manager = window.getContentManager();
|
||||
|
||||
CompletableFuture<?> result = CompletableFuture.completedFuture(null);
|
||||
|
||||
-1
@@ -222,7 +222,6 @@ public class ProblemsViewPanel extends OnePixelSplitter implements Disposable, U
|
||||
JComponent centerComponent = createCenterComponent();
|
||||
myToolbar = createToolbar();
|
||||
myToolbar.setTargetComponent(centerComponent);
|
||||
myToolbar.getComponent().setVisible(state.getShowToolbar());
|
||||
myPanel = new JPanel(new BorderLayout());
|
||||
myScrollPane = createScrollPane(centerComponent, true);
|
||||
if (ExperimentalUI.isNewUI()) {
|
||||
|
||||
-1
@@ -24,7 +24,6 @@ open class ProblemsViewState : BaseState() {
|
||||
|
||||
var autoscrollToSource: Boolean by property(false)
|
||||
var showPreview: Boolean by property(false)
|
||||
var showToolbar: Boolean by property(true)
|
||||
|
||||
var groupByToolId: Boolean by property(false)
|
||||
var sortFoldersFirst: Boolean by property(true)
|
||||
|
||||
Reference in New Issue
Block a user