private void applyName(Enum newEnuum) {
		String editorName = editorPanel.getEnumName().trim();
		if (originalEnumName.equals(editorName)) {
			return; // nothing to do
		}

		if (StringUtils.isBlank(editorName)) {
			Msg.showError(this, editorPanel, "Invalid Name", "Name cannot be empty.");
			return;
		}

		try {
			newEnuum.setName(editorName);
			originalEnumName = editorName;
			updateTitle(newEnuum);
		}
		catch (InvalidNameException e) {
			Msg.showError(this, editorPanel, "Invalid Name", "Name contains invalid characters.");
		}
		catch (DuplicateNameException e) {
			Msg.showError(this, editorPanel, "Duplicate Name", editorName + " already exists.");
		}
	}
Checks to see if the new changes to the enum will affect equates based off of it.
@param editedEnum the enum to check for conflicts with
@return true if the enum should save its changes; otherwise, false
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/EnumEditorProvider.java