From: <ha...@us...> - 2009-11-06 19:39:57
|
Revision: 11688 http://jmol.svn.sourceforge.net/jmol/?rev=11688&view=rev Author: hansonr Date: 2009-11-06 19:39:23 +0000 (Fri, 06 Nov 2009) Log Message: ----------- version=11.9.8_dev # abstract public String loadInline(Vector arrayData, boolean isAppend); # @param arrayData a Vector of models, where each model is either a String # or a String[] or a Vector<String> Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Viewer.java Modified: trunk/Jmol/src/org/jmol/viewer/Viewer.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Viewer.java 2009-11-06 19:31:12 UTC (rev 11687) +++ trunk/Jmol/src/org/jmol/viewer/Viewer.java 2009-11-06 19:39:23 UTC (rev 11688) @@ -5944,16 +5944,24 @@ } private void jmolTest() { + /* Vector v = new Vector(); + Vector m = new Vector(); + v.add(m); + m.add("MODEL 2"); + m.add("HETATM 1 H1 UNK 1 2.457 0.000 0.000 1.00 0.00 H "); + m.add("HETATM 2 C1 UNK 1 1.385 0.000 0.000 1.00 0.00 C "); + m.add("HETATM 3 C2 UNK 1 -1.385 -0.000 0.000 1.00 0.00 C "); v.add(new String[] { - "MODEL 2", - "HETATM 1 H1 UNK 1 2.457 0.000 0.000 1.00 0.00 H ", - "HETATM 2 C1 UNK 1 1.385 0.000 0.000 1.00 0.00 C ", - "HETATM 3 C2 UNK 1 -1.385 -0.000 0.000 1.00 0.00 C ", + "MODEL 2", + "HETATM 1 H1 UNK 1 2.457 0.000 0.000 1.00 0.00 H ", + "HETATM 2 C1 UNK 1 1.385 0.000 0.000 1.00 0.00 C ", + "HETATM 3 C2 UNK 1 -1.385 -0.000 0.000 1.00 0.00 C ", }); - //v.add(new String[] {"3","testing","C 0 0 0","O 0 1 0","N 0 0 1"} ); - //v.add("3\ntesting\nC 0 0 0\nO 0 1 0\nN 0 0 1\n"); + v.add(new String[] {"3","testing","C 0 0 0","O 0 1 0","N 0 0 1"} ); + v.add("3\ntesting\nC 0 0 0\nO 0 1 0\nN 0 0 1\n"); loadInline(v, false); + */ } public boolean getPdbLoadInfo(int type) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |