@Override
	public boolean checkForSave(boolean allowCancel) {
		int result = saveChangesForCloseEvent(allowCancel);
		if (result == CANCEL || result == ERROR) {
			if (allowCancel) {
				return false;
			}
		}
		return true;
	}
Construct a new enum editor provider.
@param plugin owner of this provider
@param enumDT enum data type
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/EnumEditorProvider.java