From: tcofoegbu Date: Thu, 28 May 2015 10:45:50 +0000 (+0100) Subject: JAL-1751 provided method to overide isCellEditable for the PDB response table model X-Git-Tag: Release_2_10_0~653^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e826e3b91cf0c0e00227f967c608e994861eca94;p=jalview.git JAL-1751 provided method to overide isCellEditable for the PDB response table model --- 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