private void setDataType(DataType dt) {
		currentDataType = dt;
		size = dt.getLength();
		boolean unconstrained = (dt instanceof AbstractFloatDataType) || (dt == DataType.DEFAULT);
		model.setRequiredSize(size, unconstrained);
		if (sizeLabel != null) {
			sizeLabel.setText(Integer.toString(size));
		}
		model.notifyDataChanged();
	}
Read-only use constructor for Help screenshot
@param program the program
@param service the data type manager service
@param var function parameter to be displayed in editor dialog
@param ordinal parameter ordinal (-1 for return)
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/editor/StorageAddressEditorDialog.java