private Pair<Integer, Integer> getEditingCell(final JTable table) {
		final AtomicReference<Pair<Integer, Integer>> ref = new AtomicReference<>();
		runSwing(() -> {
			int editingRow = table.getEditingRow();
			int editingColumn = table.getEditingColumn();
			ref.set(new Pair<>(editingRow, editingColumn));
		});
		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