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