From e826e3b91cf0c0e00227f967c608e994861eca94 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Thu, 28 May 2015 11:45:50 +0100 Subject: [PATCH] JAL-1751 provided method to overide isCellEditable for the PDB response table model --- src/jalview/ws/uimodel/PDBRestResponse.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/jalview/ws/uimodel/PDBRestResponse.java b/src/jalview/ws/uimodel/PDBRestResponse.java index 3b5b05c..2814a46 100644 --- a/src/jalview/ws/uimodel/PDBRestResponse.java +++ b/src/jalview/ws/uimodel/PDBRestResponse.java @@ -91,8 +91,14 @@ public class PDBRestResponse public static DefaultTableModel getTableModel(PDBRestRequest request, Collection summariesList) { - DefaultTableModel tableModel = new DefaultTableModel(); - + DefaultTableModel tableModel = new DefaultTableModel() + { + @Override + public boolean isCellEditable(int row, int column) + { + return false; + } + }; if (request.getAssociatedSequence() != null) { tableModel.addColumn("Sequence"); // Create sequence column header if -- 1.7.10.2