mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
298d9320ea
7 changed files with 91 additions and 58 deletions
|
@ -61,7 +61,8 @@ import resources.ResourceManager;
|
|||
import resources.icons.RotateIcon;
|
||||
|
||||
public interface DebuggerResources {
|
||||
String OPTIONS_CATEGORY_WORKFLOW = "Debugger.Workflow";
|
||||
String OPTIONS_CATEGORY_DEBUGGER = "Debugger";
|
||||
String OPTIONS_CATEGORY_WORKFLOW = "Workflow";
|
||||
|
||||
ImageIcon ICON_DEBUGGER = ResourceManager.loadImage("images/debugger.png");
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@ public class DebuggerWorkflowServicePlugin extends Plugin
|
|||
/* testing */ final List<DebuggerBot> allBots = new ArrayList<>();
|
||||
|
||||
// Cannot auto-wire, since they're dynamically populated
|
||||
private final ToolOptions options;
|
||||
private final Options options;
|
||||
|
||||
@SuppressWarnings("hiding") // I'm FrontEndOnly
|
||||
protected final FrontEndTool tool;
|
||||
|
@ -140,8 +140,9 @@ public class DebuggerWorkflowServicePlugin extends Plugin
|
|||
this.tool = (FrontEndTool) tool; // I'm FrontEndOnly
|
||||
|
||||
this.autoServiceWiring = AutoService.wireServicesProvidedAndConsumed(this);
|
||||
this.options = tool.getOptions(DebuggerResources.OPTIONS_CATEGORY_WORKFLOW);
|
||||
this.options.addOptionsChangeListener(this);
|
||||
ToolOptions rootOptions = tool.getOptions(DebuggerResources.OPTIONS_CATEGORY_DEBUGGER);
|
||||
rootOptions.addOptionsChangeListener(this);
|
||||
this.options = rootOptions.getOptions(DebuggerResources.OPTIONS_CATEGORY_WORKFLOW);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue