mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
[usage view] API cleanup: remove unused deprecated UsageView::addButtonToLowerPane method (IJPL-275)
GitOrigin-RevId: e9e270dd7501a609cde6a45df05d140396ba0202
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2b7cadcc23
commit
e549b63cec
@@ -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,
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user