@Override
			public void actionPerformed(ActionContext context) {
				ProgramTreeActionContext ptac = (ProgramTreeActionContext) context;
				ProgramNode node = ptac.getSingleSelectedNode();
				ProgramDnDTree tree = ptac.getTree();
				pasteManager.paste(tree, node);
			}
Get the action for the tree.

@return PluginAction[]
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramTreeActionManager.java