From: <sh...@us...> - 2008-12-04 16:32:08
|
Revision: 13483 http://cdk.svn.sourceforge.net/cdk/?rev=13483&view=rev Author: shk3 Date: 2008-12-04 16:32:05 +0000 (Thu, 04 Dec 2008) Log Message: ----------- created a test dir for the applets Added Paths: ----------- jchempaint/trunk/applettests/ jchempaint/trunk/applettests/EditorApplet.html jchempaint/trunk/applettests/ViewerApplet.html jchempaint/trunk/applettests/ViewerAppletSmall.html jchempaint/trunk/applettests/big.mol Removed Paths: ------------- jchempaint/trunk/EditorApplet.html jchempaint/trunk/ViewerApplet.html jchempaint/trunk/ViewerAppletSmall.html Deleted: jchempaint/trunk/EditorApplet.html =================================================================== --- jchempaint/trunk/EditorApplet.html 2008-12-04 16:15:51 UTC (rev 13482) +++ jchempaint/trunk/EditorApplet.html 2008-12-04 16:32:05 UTC (rev 13483) @@ -1,32 +0,0 @@ -<html> -<head> -<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> -<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> -<title>The JChemPaint Applet Demo</title> -</head> -<body BGCOLOR="#ffffff" LINK="#000099"> - -<h2> -The JChemPaint Applet -</h2> - -<applet code="org.openscience.jchempaint.applet.JChemPaintEditorApplet" archive="dist/jar/jchempaint-applet-core.jar" - name="Editor" - width="600" height="500"> -<!--param name="load" value="src/data/mdl/withcharges.mol"--> -<param name="impliciths" value="true"> -</applet> -<a href="javascript:alert(document.Editor.getMolFile())">show mol file</a> -<a href="javascript:alert(document.Editor.getSmiles())">show smiles</a> -<a href="javascript:alert(document.Editor.getSmilesChiral())">show stereo smiles</a> -<a href="javascript:document.Editor.clear()">clear</a> -<a href="javascript:document.Editor.addMolFileWithReplace('\n CDK 1/19/07,10:3\n\n 2 1 0 0 0 0 0 0 0 0999 V2000 \n 252.0000 1022.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 227.0000 1047.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 2 1 1 0 0 0 0 \nM END')">insert CC (as mol file)</a> -<a href="javascript:document.Editor.setSmiles('CCC')">insert CCC (as SMILES)</a> -<blockquote> -<hr> - -</body> -</html> - - - Deleted: jchempaint/trunk/ViewerApplet.html =================================================================== --- jchempaint/trunk/ViewerApplet.html 2008-12-04 16:15:51 UTC (rev 13482) +++ jchempaint/trunk/ViewerApplet.html 2008-12-04 16:32:05 UTC (rev 13483) @@ -1,29 +0,0 @@ -<html> -<head> -<title>The JChemPaint Applet Demo</title> -</head> -<body BGCOLOR="#ffffff" LINK="#000099"> - -<h2> -The JChemPaint Applet -</h2> - -<applet name="Viewer" code="org.openscience.jchempaint.applet.JChemPaintViewerApplet" archive="dist/jar/jchempaint-applet-core.jar" - width="600" height="500"> -<param name="smiles" value="CCCCCCCCC"> -<param name="atomNumbersVisible" value="true"> -<param name="background" value="12632256"> -<param name="detachable" value="true"> -<!--param name="tooltips" value="30|test1|31|test2"--> -<param name="scrollbars" value="true"> -</applet> -<a href="javascript:document.Viewer.selectAtom(6)">select atom 6</a> -<a href="javascript:alert(document.Viewer.getMolFile())">show mol file</a> -<blockquote> -<hr> - -</body> -</html> - - - Deleted: jchempaint/trunk/ViewerAppletSmall.html =================================================================== --- jchempaint/trunk/ViewerAppletSmall.html 2008-12-04 16:15:51 UTC (rev 13482) +++ jchempaint/trunk/ViewerAppletSmall.html 2008-12-04 16:32:05 UTC (rev 13483) @@ -1,25 +0,0 @@ -<html> -<head> -<title>The JChemPaint Applet Demo</title> -</head> -<body BGCOLOR="#ffffff" LINK="#000099"> - -<h2> -The JChemPaint Applet (as a compact viewer) -</h2> - - <applet name="Viewer1" - code="org.openscience.jchempaint.applet.JChemPaintViewerApplet" - archive="dist/jar/jchempaint-applet-core.jar" - width="250" height="150"> - <param name="smiles" value="CCCCCCCC(=O)CCCCC"> - <param name="compact" value="true"> - </applet> - -<blockquote> -<hr> -</body> -</html> - - - Added: jchempaint/trunk/applettests/EditorApplet.html =================================================================== --- jchempaint/trunk/applettests/EditorApplet.html (rev 0) +++ jchempaint/trunk/applettests/EditorApplet.html 2008-12-04 16:32:05 UTC (rev 13483) @@ -0,0 +1,32 @@ +<html> +<head> +<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> +<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> +<title>The JChemPaint Applet Demo</title> +</head> +<body BGCOLOR="#ffffff" LINK="#000099"> + +<h2> +The JChemPaint Applet +</h2> + +<applet code="org.openscience.jchempaint.applet.JChemPaintEditorApplet" archive="../dist/jar/jchempaint-applet-core.jar" + name="Editor" + width="600" height="500"> +<!--param name="load" value="big.mol"--> +<param name="impliciths" value="true"> +</applet> +<a href="javascript:alert(document.Editor.getMolFile())">show mol file</a> +<a href="javascript:alert(document.Editor.getSmiles())">show smiles</a> +<a href="javascript:alert(document.Editor.getSmilesChiral())">show stereo smiles</a> +<a href="javascript:document.Editor.clear()">clear</a> +<a href="javascript:document.Editor.addMolFileWithReplace('\n CDK 1/19/07,10:3\n\n 2 1 0 0 0 0 0 0 0 0999 V2000 \n 252.0000 1022.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 227.0000 1047.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 2 1 1 0 0 0 0 \nM END')">insert CC (as mol file)</a> +<a href="javascript:document.Editor.setSmiles('CCC')">insert CCC (as SMILES)</a> +<blockquote> +<hr> + +</body> +</html> + + + Property changes on: jchempaint/trunk/applettests/EditorApplet.html ___________________________________________________________________ Added: svn:executable + * Added: jchempaint/trunk/applettests/ViewerApplet.html =================================================================== --- jchempaint/trunk/applettests/ViewerApplet.html (rev 0) +++ jchempaint/trunk/applettests/ViewerApplet.html 2008-12-04 16:32:05 UTC (rev 13483) @@ -0,0 +1,30 @@ +<html> +<head> +<title>The JChemPaint Applet Demo</title> +</head> +<body BGCOLOR="#ffffff" LINK="#000099"> + +<h2> +The JChemPaint Applet +</h2> + +<applet name="Viewer" code="org.openscience.jchempaint.applet.JChemPaintViewerApplet" archive="../dist/jar/jchempaint-applet-core.jar" + width="600" height="500"> +<!--param name="load" value="big.mol"--> +<param name="smiles" value="CCCCC(=O)CCCCN"> +<param name="atomNumbersVisible" value="true"> +<param name="background" value="12632256"> +<param name="detachable" value="true"> +<!--param name="tooltips" value="30|test1|31|test2"--> +<param name="scrollbars" value="true"> +</applet> +<a href="javascript:document.Viewer.selectAtom(6)">select atom 6</a> +<a href="javascript:alert(document.Viewer.getMolFile())">show mol file</a> +<blockquote> +<hr> + +</body> +</html> + + + Property changes on: jchempaint/trunk/applettests/ViewerApplet.html ___________________________________________________________________ Added: svn:executable + * Added: jchempaint/trunk/applettests/ViewerAppletSmall.html =================================================================== --- jchempaint/trunk/applettests/ViewerAppletSmall.html (rev 0) +++ jchempaint/trunk/applettests/ViewerAppletSmall.html 2008-12-04 16:32:05 UTC (rev 13483) @@ -0,0 +1,26 @@ +<html> +<head> +<title>The JChemPaint Applet Demo</title> +</head> +<body BGCOLOR="#ffffff" LINK="#000099"> + +<h2> +The JChemPaint Applet (as a compact viewer) +</h2> + + <applet name="Viewer1" + code="org.openscience.jchempaint.applet.JChemPaintViewerApplet" + archive="../dist/jar/jchempaint-applet-core.jar" + width="250" height="150"> + <param name="smiles" value="CCCCCCCC(=O)CCCCC"> + <param name="compact" value="true"> + <param name="scrollbars" value="false"> + </applet> + +<blockquote> +<hr> +</body> +</html> + + + Added: jchempaint/trunk/applettests/big.mol =================================================================== --- jchempaint/trunk/applettests/big.mol (rev 0) +++ jchempaint/trunk/applettests/big.mol 2008-12-04 16:32:05 UTC (rev 13483) @@ -0,0 +1,166 @@ + + CDK +NMRShiftDB 20061451 cubic.nmrshiftdb.org_mainz2_2005-05-18_12:23:35_0132 + 78 83 0 0 0 0 0 0 0 0999 V2000 + 0.6400 -1.5900 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.7100 -1.8900 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 0.8200 -1.5900 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 0.9100 -1.3500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 0.6400 -1.1200 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 0.3700 -0.8800 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 0.0900 -0.6500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 0.0000 -0.4100 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 0.2700 -0.6500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 0.6400 -0.6500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 0.5500 -0.4100 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 0.5500 -0.8800 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 0.8200 -1.1200 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0 + 1.1000 -1.3500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.1900 -1.5900 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.4600 -1.3500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.7300 -1.1200 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.9200 -1.1200 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 2.0100 -1.3500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 2.3100 -1.1500 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0 + 2.4800 -1.2600 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 2.8000 -1.2600 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 2.9900 -0.8600 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0 + 3.1700 -0.8300 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0 + 3.2500 -1.0800 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3.5500 -0.9400 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3.7300 -1.0100 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3.7800 -1.2800 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.0000 -1.6100 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.3100 -1.4900 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.4800 -1.5600 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.5700 -1.1000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.6500 -0.6500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.7300 -0.1900 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.8600 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.7800 -0.4600 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.8700 -0.9800 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 5.0000 -0.7900 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.6900 -0.9100 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.6100 -1.3700 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0 + 4.5300 -1.8200 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.4000 -2.0100 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.2300 -1.9400 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.1400 -2.4000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.0600 -2.8500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3.9800 -3.3100 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3.8500 -3.5000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3.9300 -3.0400 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3.8400 -2.5200 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3.7100 -2.7100 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.0100 -2.5900 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 4.1000 -2.1300 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0 + 4.1800 -1.6800 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3.9500 -1.3500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3.6500 -1.4700 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3.4700 -1.4000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3.4300 -1.1400 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3.1100 -1.2600 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0 + 2.9500 -1.1200 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 2.6400 -1.1200 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 2.4600 -1.5300 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0 + 2.2800 -1.5900 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0 + 2.1900 -1.3500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.9200 -1.5900 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.7300 -1.5900 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.6400 -1.3500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.3700 -1.5900 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.1000 -1.8200 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.3700 -2.0600 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.6400 -2.2900 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.9200 -2.5300 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 2.0100 -2.7700 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.7300 -2.5300 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.3700 -2.5300 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.4600 -2.7700 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.4600 -2.2900 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 1.1900 -2.0600 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0 + 0.9100 -1.8200 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 + 3 1 1 0 0 0 0 + 41 2 1 0 0 0 0 + 3 78 1 0 0 0 0 + 4 3 2 0 0 0 0 + 14 4 1 0 0 0 0 + 13 5 1 0 0 0 0 + 12 6 1 0 0 0 0 + 9 7 1 0 0 0 0 + 7 8 1 0 0 0 0 + 6 9 1 0 0 0 0 + 12 10 1 0 0 0 0 + 10 11 1 0 0 0 0 + 5 12 1 0 0 0 0 + 4 13 1 0 0 0 0 + 15 14 2 0 0 0 0 + 68 15 1 0 0 0 0 + 67 16 2 0 0 0 0 + 17 66 1 0 0 0 0 + 18 17 2 0 0 0 0 + 19 18 1 0 0 0 0 + 64 19 2 0 0 0 0 + 20 63 1 0 0 0 0 + 21 20 1 0 0 0 0 + 61 21 2 0 0 0 0 + 60 22 2 0 0 0 0 + 23 59 2 0 0 0 0 + 24 23 1 0 0 0 0 + 25 24 2 0 0 0 0 + 58 25 1 0 0 0 0 + 26 57 1 0 0 0 0 + 27 26 2 0 0 0 0 + 28 27 1 0 0 0 0 + 55 28 2 0 0 0 0 + 54 29 2 0 0 0 0 + 30 53 1 0 0 0 0 + 31 30 2 0 0 0 0 + 41 31 1 0 0 0 0 + 40 32 1 0 0 0 0 + 39 33 1 0 0 0 0 + 36 34 1 0 0 0 0 + 34 35 1 0 0 0 0 + 33 36 1 0 0 0 0 + 39 37 1 0 0 0 0 + 37 38 1 0 0 0 0 + 32 39 1 0 0 0 0 + 31 40 1 0 0 0 0 + 42 41 2 0 0 0 0 + 43 42 1 0 0 0 0 + 53 43 2 0 0 0 0 + 52 44 1 0 0 0 0 + 51 45 1 0 0 0 0 + 48 46 1 0 0 0 0 + 46 47 1 0 0 0 0 + 45 48 1 0 0 0 0 + 51 49 1 0 0 0 0 + 49 50 1 0 0 0 0 + 44 51 1 0 0 0 0 + 43 52 1 0 0 0 0 + 29 53 1 0 0 0 0 + 28 54 1 0 0 0 0 + 56 55 1 0 0 0 0 + 57 56 2 0 0 0 0 + 25 57 1 0 0 0 0 + 59 58 1 0 0 0 0 + 22 59 1 0 0 0 0 + 21 60 1 0 0 0 0 + 62 61 1 0 0 0 0 + 63 62 2 0 0 0 0 + 19 63 1 0 0 0 0 + 65 64 1 0 0 0 0 + 66 65 2 0 0 0 0 + 16 66 1 0 0 0 0 + 15 67 1 0 0 0 0 + 78 68 2 0 0 0 0 + 77 69 1 0 0 0 0 + 76 70 1 0 0 0 0 + 73 71 1 0 0 0 0 + 71 72 1 0 0 0 0 + 70 73 1 0 0 0 0 + 76 74 1 0 0 0 0 + 74 75 1 0 0 0 0 + 69 76 1 0 0 0 0 + 68 77 1 0 0 0 0 +M END \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |