public void showPrepopulatedDialog(Tool tool, String dataTypeText) {

		if (isShowing()) {
			return;
		}

		if (StringUtils.isBlank(dataTypeText)) {
			throw new IllegalArgumentException(
				"Cannot pre-populate the data type chooser dialog with blank filter text");
		}
		tree.setFilterText(dataTypeText);
		setFilterFieldEditable(false);
		installExactMatchFilter();

		setFirstNodeSelected();
		tool.showDialog(this);
	}
A convenience method to show this dialog with the following configuration:
<ul>
 <li>the tree will be filtered using the given filter text</li>
 <li>the filter field will be disabled so the user cannot change the nodes available in the 
 tree</li>
 <li>the first child node of the root node in the tree will be selected</li>
</ul>

@param tool the tool to which this dialog will be parented; cannot be null
@param dataTypeText the filter text; cannot be null
@throws IllegalArgumentException if the given filter text is null or empty
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/util/DataTypeChooserDialog.java