mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GT-3485 fixed analysis actions to work on "global context"
This commit is contained in:
parent
0b121ca9b8
commit
75451921b2
7 changed files with 112 additions and 78 deletions
|
@ -2140,6 +2140,15 @@ public class DockingWindowManager implements PropertyChangeListener, Placeholder
|
|||
contextListeners.remove(listener);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the global action context for the tool
|
||||
* @return the global action context for the tool
|
||||
*/
|
||||
public ActionContext getGlobalActionContext() {
|
||||
return defaultProvider == null ? new ActionContext()
|
||||
: defaultProvider.getActionContext(null);
|
||||
}
|
||||
|
||||
void notifyContextListeners(ComponentPlaceholder placeHolder, ActionContext actionContext) {
|
||||
|
||||
if (placeHolder == focusedPlaceholder) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue