@Override
	public String toString() {
		//@formatter:off
		return "{\n" +
			"\tfield: " + myFieldFactory.getFieldName() + "\n" +
			"\tmodel: " + formatModel.getName() + "\n" +
			"\towner: " + getOwner() + "\n" +
		"}";
		//@formatter:on
	}
Method called when the action is invoked.
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/format/actions/AddFieldAction.java