private String getEditorCategoryText(final EnumEditorPanel panel) {
		final AtomicReference<String> ref = new AtomicReference<>();
		runSwing(() -> {
			JTextField field = getTextField(panel, "Category");
			ref.set(field.getText());
		});
		return ref.get();
	}
Tests for editing an Enumerated data type.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/editor/EnumEditor1Test.java