@Override
	public void actionPerformed(ListingActionContext context) {
		Function function = getFunction(context);
		plugin.edit(function);
	}
Creates a new action with the given name and associated to the given
plugin.
@param plugin the plugin this action is associated with.
@param dtmService the data type manager service that tracks favorites and
data type changes.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/stackeditor/EditStackAction.java