Ghidra is a software reverse engineering (SRE) framework
Merge remote-tracking branch 'origin/GT-2886-dragonmacher-beep-npe'
Ryan Kurtzf9a1652974e9
diff --cc Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/PluginTool.javaindex 1d2a76399a,b3ffe11734..1e45ab40c7--- a/Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/PluginTool.java+++ b/Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/PluginTool.java@@@ -375,6 -489,34 +375,13 @@@ public abstract class PluginTool extendserviceMgr.removeServiceListener(listener);}- /**- * Set the status information.- * @param text string to be displayed in the Status display area- * @param beep whether to beep or not- */- public void setStatusInfo(String text, boolean beep) {- winMgr.setStatusText(text, beep);- }-- @Override- public void setStatusInfo(String text) {- winMgr.setStatusText(text);- }-- /**- * Clear the status information.- */- public void clearStatusInfo() {- winMgr.setStatusText("");- }-+ /**+ * A convenience method to make an attention-grabbing noise to the user+ */+ public void beep() {+ DockingWindowManager.beep();+ }+/*** Sets the provider that should get the default focus when no component has focus.* @param provider the provider that should get the default focus when no component has focus.