@Override
	protected boolean isApplicableToUnit(CodeUnit cu) {
		return cu instanceof Data data && data.getBaseDataType().isEncodable();
	}
A context menu action to patch data at the current address
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/assembler/PatchDataAction.java