@Override
	protected void okCallback() {

		if (categorySelectionMode) {
			selectedCategoryPath = getCurrentCategoryPath();
		}
		else {
			DataTypeNode dtNode = getSelectedDtNode();
			selectedDataType = dtNode.getDataType();
		}

		close();
	}
Signals that this chooser is intended to pick {@link CategoryPath}s instead of data types.
@param categorySelectionMode true to pick category paths
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/util/DataTypeChooserDialog.java