+ @Override
+ public void highlightAtoms(List<AtomSpec> atoms)
+ {
+ if (atoms != null)
+ {
+ for (AtomSpec atom : atoms)
+ {
+ highlightAtom(atom.getAtomIndex(), atom.getPdbResNum(),
+ atom.getChain(), atom.getPdbFile());
+ }
+ }
+ }
+
+ // TODO Jmol and Chimera seem to expect pdbFile, javascript listener pdbId
+ protected abstract void highlightAtom(int atomIndex, int pdbResNum,
+ String chain, String pdbFile);
+