private JPanel buildDataTypeChooserPanel() {
		JPanel panel = new JPanel(new BorderLayout(10, 0));

		DataTypeManager dtm = composite.getDataTypeManager();
		dataTypeEditor = new DataTypeSelectionEditor(dtm, dtmService, AllowedDataTypes.ALL);

		JComponent editorComponent = dataTypeEditor.getEditorComponent();
		panel.add(editorComponent, BorderLayout.CENTER);

		return panel;
	}
Sets the pending new datatype and updates the datatype text field to the name of that
datatype.
@param dataType the new pending datatype
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/data/EditDataFieldDialog.java