git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c912067
)
JAL-1751 provided method to overide isCellEditable for the PDB response table model
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Thu, 28 May 2015 10:45:50 +0000
(11:45 +0100)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Thu, 28 May 2015 10:45:50 +0000
(11:45 +0100)
src/jalview/ws/uimodel/PDBRestResponse.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws/uimodel/PDBRestResponse.java
b/src/jalview/ws/uimodel/PDBRestResponse.java
index
3b5b05c
..
2814a46
100644
(file)
--- 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<PDBResponseSummary> 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