mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
Task Launcher - updated timeout feature to ignore interruptions
This commit is contained in:
parent
fb2a4a0363
commit
2cf9f7dded
11 changed files with 240 additions and 344 deletions
|
@ -15,9 +15,9 @@
|
|||
*/
|
||||
package docking;
|
||||
|
||||
import java.awt.Frame;
|
||||
import java.awt.Window;
|
||||
import java.awt.*;
|
||||
import java.util.*;
|
||||
import java.util.List;
|
||||
|
||||
import javax.swing.JFrame;
|
||||
|
||||
|
@ -78,6 +78,20 @@ public abstract class AbstractDockingTool implements DockingTool {
|
|||
winMgr.setStatusText(text);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setStatusInfo(String text, boolean beep) {
|
||||
winMgr.setStatusText(text);
|
||||
if (beep) {
|
||||
Toolkit tk = getToolFrame().getToolkit();
|
||||
tk.beep();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clearStatusInfo() {
|
||||
winMgr.setStatusText("");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addAction(DockingActionIf action) {
|
||||
actionMgr.addToolAction(action);
|
||||
|
|
|
@ -83,6 +83,18 @@ public interface DockingTool {
|
|||
*/
|
||||
public void setStatusInfo(String text);
|
||||
|
||||
/**
|
||||
* Set the status information
|
||||
* @param text string to be displayed in the Status display area
|
||||
* @param beep whether to be or not
|
||||
*/
|
||||
public void setStatusInfo(String text, boolean beep);
|
||||
|
||||
/**
|
||||
* Clear the status information
|
||||
*/
|
||||
public void clearStatusInfo();
|
||||
|
||||
/**
|
||||
* Adds the action to the tool.
|
||||
* @param action the action to be added.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue