@Override
	public Object getColumnValueForRow(Version version, int columnIndex) {
		switch (columnIndex) {
			case VERSION_COL:
				return version.getVersion();
			case DATE_COL:
				return new Date(version.getCreateTime());
			case USER_COL:
				return version.getUser();
			case COMMENTS_COL:
				return version.getComment();
		}
		return null;
	}
Table model for showing version history.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatree/VersionHistoryTableModel.java