mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
[tips] TipPanel is not part of platform API
GitOrigin-RevId: a2655856f2b85eef78219df0f35ef2e6f333887a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
133e4adb67
commit
a0a23e9651
@@ -1,25 +0,0 @@
|
||||
f:com.intellij.ide.util.TipPanel
|
||||
- javax.swing.JPanel
|
||||
- com.intellij.openapi.ui.DoNotAskOption
|
||||
- sf:CURRENT_TIP_KEY:com.intellij.openapi.util.Key
|
||||
- <init>(com.intellij.openapi.project.Project,com.intellij.ide.util.TipsSortingResult,com.intellij.openapi.Disposable):V
|
||||
- canBeHidden():Z
|
||||
- getDoNotShowMessage():java.lang.String
|
||||
- getMinimumSize():java.awt.Dimension
|
||||
- getPreferredSize():java.awt.Dimension
|
||||
- isToBeShown():Z
|
||||
- setToBeShown(Z,I):V
|
||||
- shouldSaveOptionsOnCancel():Z
|
||||
f:com.intellij.ide.util.TipsSortingResult
|
||||
- sf:Companion:com.intellij.ide.util.TipsSortingResult$Companion
|
||||
- sf:create(java.util.List):com.intellij.ide.util.TipsSortingResult
|
||||
- sf:create(java.util.List,java.lang.String):com.intellij.ide.util.TipsSortingResult
|
||||
- sf:create(java.util.List,java.lang.String,java.lang.String):com.intellij.ide.util.TipsSortingResult
|
||||
- f:getAlgorithm():java.lang.String
|
||||
- f:getTips():java.util.List
|
||||
- f:getVersion():java.lang.String
|
||||
f:com.intellij.ide.util.TipsSortingResult$Companion
|
||||
- f:create(java.util.List):com.intellij.ide.util.TipsSortingResult
|
||||
- f:create(java.util.List,java.lang.String):com.intellij.ide.util.TipsSortingResult
|
||||
- f:create(java.util.List,java.lang.String,java.lang.String):com.intellij.ide.util.TipsSortingResult
|
||||
- bs:create$default(com.intellij.ide.util.TipsSortingResult$Companion,java.util.List,java.lang.String,java.lang.String,I,java.lang.Object):com.intellij.ide.util.TipsSortingResult
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
class ShowFeatureUsageStatisticsAction extends AnAction implements DumbAware {
|
||||
final class ShowFeatureUsageStatisticsAction extends AnAction implements DumbAware {
|
||||
@Override
|
||||
public void actionPerformed(@NotNull AnActionEvent e) {
|
||||
new ShowFeatureUsageStatisticsDialog(Objects.requireNonNull(getEventProject(e))).show();
|
||||
|
||||
@@ -54,7 +54,7 @@ import java.util.function.Supplier;
|
||||
import static javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER;
|
||||
import static javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
|
||||
|
||||
public final class TipPanel extends JPanel implements DoNotAskOption {
|
||||
final class TipPanel extends JPanel implements DoNotAskOption {
|
||||
public static final Key<String> CURRENT_TIP_KEY = Key.create("CURRENT_TIP");
|
||||
|
||||
private static final Logger LOG = Logger.getInstance(TipPanel.class);
|
||||
@@ -74,7 +74,7 @@ public final class TipPanel extends JPanel implements DoNotAskOption {
|
||||
private final Map<String, Boolean> myTipIdToLikenessState = new LinkedHashMap<>();
|
||||
private Boolean myCurrentLikenessState = null;
|
||||
|
||||
public TipPanel(@Nullable final Project project, @NotNull final TipsSortingResult sortingResult, @NotNull Disposable parentDisposable) {
|
||||
TipPanel(@Nullable final Project project, @NotNull final TipsSortingResult sortingResult, @NotNull Disposable parentDisposable) {
|
||||
setLayout(new BorderLayout());
|
||||
myProject = project;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// 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.ide.util
|
||||
|
||||
class TipsSortingResult private constructor(
|
||||
internal class TipsSortingResult private constructor(
|
||||
val tips: List<TipAndTrickBean>,
|
||||
val algorithm: String,
|
||||
val version: String?,
|
||||
|
||||
Reference in New Issue
Block a user