private void chooseDataType(String dtName) {

		DataTypeSelectionDialog chooser = waitForDialogComponent(DataTypeSelectionDialog.class);

		JTextField tf = findComponent(chooser, JTextField.class);
		triggerText(tf, dtName);

		pressButtonByText(chooser, "OK");
		waitForTasks();
	}
Tests copy/paste/drag/drop operations
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/DataTypeCopyMoveDragTest.java