mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Fixes action owner usage
This commit is contained in:
parent
a8abf12ede
commit
b22574ea9c
26 changed files with 132 additions and 125 deletions
|
@ -80,7 +80,7 @@ public class SkeletonPlugin extends ProgramPlugin {
|
|||
private DockingAction action;
|
||||
|
||||
public MyProvider(Plugin plugin, String owner) {
|
||||
super(plugin.getTool(), owner, owner);
|
||||
super(plugin.getTool(), "Skeleton Provider", owner);
|
||||
buildPanel();
|
||||
createActions();
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ public class SkeletonPlugin extends ProgramPlugin {
|
|||
|
||||
// Customize actions
|
||||
private void createActions() {
|
||||
action = new DockingAction("My Action", getName()) {
|
||||
action = new DockingAction("My Action", getOwner()) {
|
||||
@Override
|
||||
public void actionPerformed(ActionContext context) {
|
||||
Msg.showInfo(getClass(), panel, "Custom Action", "Hello!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue