@Override
	public DataType getProgramDataTypeByPath(DataTypePath path) {
		DataTypeManager pdtm = getProgramDataTypeManager();
		if (pdtm == null) {
			return null;
		}
		return pdtm.getDataType(path);
	}
Create the actions for the menu on the tool.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/DataTypeManagerPlugin.java