@Override
			public boolean isEnabledForContext(ActionContext context) {
				if (context instanceof ProgramTreeActionContext ptac) {
					return ptac.hasSingleNodeSelection() || ptac.hasFullNodeMultiSelection();
				}
				return false;
			}
Get the action for the tree.

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