[usage view] API cleanup: remove unused deprecated UsageView::addButtonToLowerPane method (IJPL-275)

GitOrigin-RevId: e9e270dd7501a609cde6a45df05d140396ba0202
This commit is contained in:
Nikolay Chashnikov
2024-01-10 16:13:58 +01:00
committed by intellij-monorepo-bot
parent 2b7cadcc23
commit e549b63cec
2 changed files with 0 additions and 17 deletions

View File

@@ -1683,12 +1683,6 @@ public class UsageViewImpl implements UsageViewEx {
myAdditionalComponent.revalidate();
}
@Override
public void addButtonToLowerPane(@NotNull Runnable runnable, @NotNull @NlsContexts.Button String text, char mnemonic) {
// implemented method is deprecated, so, it just calls non-deprecated overloading one
addButtonToLowerPane(runnable, text);
}
@Override
public void addPerformOperationAction(@NotNull Runnable processRunnable,
@Nullable @NlsContexts.Command String commandName,

View File

@@ -47,20 +47,9 @@ public interface UsageView extends Disposable {
void close();
boolean isSearchInProgress();
/**
* @deprecated please specify mnemonic by prefixing the mnemonic character with an ampersand (&& for Mac-specific ampersands)
*/
@Deprecated(forRemoval = true)
void addButtonToLowerPane(@NotNull Runnable runnable, @NlsContexts.Button @NotNull String text, char mnemonic);
void addButtonToLowerPane(@NotNull Runnable runnable, @NlsContexts.Button @NotNull String text);
void addButtonToLowerPane(@NotNull Action action);
/**
* @deprecated see {@link UsageView#setRerunAction(Action)}
*/
@Deprecated(forRemoval = true)
default void setReRunActivity(@NotNull Runnable runnable) {}
/**
* @param rerunAction this action is used to provide non-standard search restart. Disabled action makes toolbar button disabled too.
*/