added comment to @gmungoc todo about referencing PDB entities in Javascript - also...
authorJim Procter <jprocter@dundee.ac.uk>
Tue, 10 Feb 2015 15:57:41 +0000 (15:57 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Tue, 10 Feb 2015 15:57:41 +0000 (15:57 +0000)
src/jalview/javascript/MouseOverStructureListener.java

index 3cc7c98..cd70291 100644 (file)
@@ -152,6 +152,8 @@ public class MouseOverStructureListener extends JSFunctionExec implements
       {
         // TODO is this right? StructureSelectionManager passes pdbFile as the
         // field that is interpreted (in 2.8.2) as pdbId?
+        // JBPComment: yep - this is right! the Javascript harness uses the
+        // absolute pdbFile URI to locate the PDB file in the external viewer
         executeJavascriptFunction(_listenerfn, new String[]
         { "mouseover", "" + atom.getPdbFile(),
                     "" + atom.getChain(),