@Override
	public void actionPerformed(ListingActionContext context) {
		plugin.createData(dataType, context, true, true);
	}
Base class for actions to create data types
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/DataAction.java