public void setValidator(ValuesMapValidator validator) {
		this.validator = validator;
	}
Sets a {@link ValuesMapValidator}. If set, this will be called when the user presses the 
"Ok" button on the {@link ValuesMapDialog}. If the validator passes (returns true), then 
the dialog will close and return the user values. Otherwise, the dialog will display the
error message (via the {@link StatusListener} in the 
{@link ValuesMapValidator#validate(GValuesMap, StatusListener)} call) and remain open.
@param validator the validator to be called before returning from the dialog
Ghidra/Framework/Docking/src/main/java/docking/widgets/values/GValuesMap.java