public FileValue defineDirectory(String name, File defaultValue) {
		checkDup(name);
		FileValue value =
			new FileValue(name, defaultValue, null, GhidraFileChooserMode.DIRECTORIES_ONLY);
		valuesMap.put(name, value);
		return value;
	}
Defines a value of type File, but is restricted to directories.
@param name the name for this value
@param defaultValue an optional initial value
@return the new FileValue that was defined
Ghidra/Framework/Docking/src/main/java/docking/widgets/values/GValuesMap.java