public Version getSelectedVersion() {
		int row = table.getSelectedRow();
		if (row >= 0) {
			return tableModel.getVersionAt(row);
		}
		return null;
	}
Get the selected {@link Version}.
@return selected {@link Version} or null if no selection
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatree/VersionHistoryPanel.java