@Override
		public void dataTypeChanged(DataTypeManager dtm, DataTypePath path) {
			if (!isMyCategory(path)) {
				return;
			}

			DataType currentDataType = getCurrentDataType();
			if (!isMyDataType(currentDataType, dtm, path)) {
				return;
			}
			if (!hasChanges()) {
				editorPanel.enumChanged((EnumDataType) ((Enum) currentDataType).copy(dtm));
			}
			applyAction.setEnabled(hasChanges());
		}
Prompts the user if the editor has unsaved changes. Saves the changes if
the user indicates to do so.
@return CANCEL (0) if the user canceled;
  SAVE (1) if the user saved changes;
  NO_SAVE (2) if the user did not save changes or no save was required;
  ERROR (3) if there was an error when the changes were applied.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/EnumEditorProvider.java