@Override
	public boolean isCellEditable(int row, int columnIndex) {
		if (columnIndex == NOTE_COLUMN) {
			return true;
		}
		//alignment only matters for post-patterns
		if (columnIndex == ALIGNMENT_COLUMN) {
			PatternInfoRowObject rowObject = filteredData.get(row);
			return (rowObject.getPatternType().equals(PatternType.FIRST));
		}
		return false;
	}
Table model for table to display selected patterns
Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/gui/PatternInfoTableModel.java