JAL-3829 comments on the 3D structure chooser’s initialisation process
[jalview.git] / src / jalview / gui / StructureChooser.java
index 86158da..a83adcb 100644 (file)
@@ -134,6 +134,14 @@ public class StructureChooser extends GStructureChooser
       @Override
       public void run()
       {
+        // looks for any existing structures already loaded 
+        // for the sequences (the cached ones) 
+        // then queries the StructureChooserQuerySource to 
+        // discover more structures.
+        // 
+        // Possible optimisation is to only begin querying
+        // the structure chooser if there are no cached structures.
+        
         long startTime = System.currentTimeMillis();
         updateProgressIndicator(MessageManager
                 .getString("status.loading_cached_pdb_entries"), startTime);