@Override
	protected void fillInputs() {
		String repr = getData().getDefaultValueRepresentation();
		input.setText(repr);
		input.setCaretPosition(repr.length());
	}
A context menu action to patch data at the current address
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/assembler/PatchDataAction.java