Author: jbeard Date: Sat Aug 14 20:35:23 2010 New Revision: 985579 URL: http://svn.apache.org/viewvc?rev=985579&view=rev Log: Added new pages corresponding to different drawing tool demos.
Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool1.xml (with props) commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool2.xml (with props) commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool3.xml (with props) Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.xml commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/hierarchical-layout/index.xml Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml?rev=985579&r1=985578&r2=985579&view=diff ============================================================================== --- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml (original) +++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml Sat Aug 14 20:35:23 2010 @@ -36,7 +36,11 @@ <item name="Second Demo" href="/demo/drag-and-drop/drag-and-drop2.html"/> <item name="Third Demo" href="/demo/drag-and-drop/drag-and-drop3.html"/> </item> - <item name="Drawing Tool" href="/demo/drawing-tool/index.html"/> + <item name="Drawing Tool" collapse="true" href="/demo/drawing-tool/index.html"> + <item name="First Demo" href="/demo/drawing-tool/drawing-tool1.html"/> + <item name="Second Demo" href="/demo/drawing-tool/drawing-tool2.html"/> + <item name="Third Demo" href="/demo/drawing-tool/drawing-tool3.html"/> + </item> </item> </menu> Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool1.xml URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool1.xml?rev=985579&view=auto ============================================================================== --- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool1.xml (added) +++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool1.xml Sat Aug 14 20:35:23 2010 @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +--> +<document> + <properties> + <title>Commons scxml-js Drawing Tool Demonstration 1</title> + <author email="jbe...@apache.org">Jacob Beard</author> + </properties> + + <body> + <section name="Overview"> + <p> + This demo shows how complex user interface behavioural requirements may be + described and implemented using SCXML. The goal is to + implement a subset of Inkscape's functionality, and to realize its behavioural + requirements, which were obtained through observation (as opposed to analyzing + at the code). + </p> + + <p> + This demo uses just-in-time compilation, employing XMLHTTPRequest to download + an SCXML document, and compiling it in the browser, when the page is loaded. + </p> + + </section> + <section name="Supported Browsers"> + <p> + To view this demo, you need a Web browser that supports SVG. + </p> + <p> + This demo has been tested in Firefox 3.6.8, Opera 10.6, and Chromium 5 on Ubuntu 10.04. + </p> + </section> + <section name="Link to Demo"> + <p> + <a href="../../project/demo/drawing-tool/drawing-tool.html">Go to demo.</a> + </p> + </section> + </body> +</document> Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool1.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool2.xml URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool2.xml?rev=985579&view=auto ============================================================================== --- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool2.xml (added) +++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool2.xml Sat Aug 14 20:35:23 2010 @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +--> +<document> + <properties> + <title>Commons scxml-js Drawing Tool Demonstration 2</title> + <author email="jbe...@apache.org">Jacob Beard</author> + </properties> + + <body> + <section name="Overview"> + <p> + This demo shows how complex user interface behavioural requirements may be + described and implemented using SCXML. The goal is to + implement a subset of Inkscape's functionality, and to realize its behavioural + requirements, which were obtained through observation (as opposed to analyzing + at the code). + </p> + + <p> + This demo uses ahead-of-time compilation, using a <script> tag to import + an SCXML document that has been compiled to JavaScript outside of the browser, + before the page is loaded. + </p> + + </section> + <section name="Supported Browsers"> + <p> + To view this demo, you need a Web browser that supports SVG. + </p> + <p> + This demo has been tested in Firefox 3.6.8, Opera 10.6, and Chromium 5 on Ubuntu 10.04. + </p> + </section> + <section name="Link to Demo"> + <p> + <a href="../../project/demo/drawing-tool/drawing-tool-precompiled.html">Go to demo.</a> + </p> + </section> + </body> +</document> + + + Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool2.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool3.xml URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool3.xml?rev=985579&view=auto ============================================================================== --- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool3.xml (added) +++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool3.xml Sat Aug 14 20:35:23 2010 @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +--> +<document> + <properties> + <title>Commons scxml-js Drawing Tool Demonstration 3</title> + <author email="jbe...@apache.org">Jacob Beard</author> + </properties> + + <body> + <section name="Overview"> + <p> + This demo shows how complex user interface behavioural requirements may be + described and implemented using SCXML. The goal is to + implement a subset of Inkscape's functionality, and to realize its behavioural + requirements, which were obtained through observation (as opposed to analyzing + at the code). + </p> + + <p> + Like <a href="drawing-tool.xml">the first drawing tool demo</a>, + this demo uses just-in-time compilation, employing XMLHTTPRequest to download + an SCXML document, and compiling it in the browser when the page is loaded. + </p> + <p> + This demo also generates a graphical SVG representation of the downloaded SCXML document + on the fly, and animates it in response to changes in state triggered by UI events. + </p> + + </section> + <section name="Supported Browsers"> + <p> + To view this demo, you need a Web browser that supports SVG. + </p> + <p> + The drawing tool component has been tested in Firefox 3.6.8, Opera 10.6, and Chromium 5 on Ubuntu 10.04. + </p> + <p> + The SCXML graphical visualization component has been tested in Firefox 3.6.8, and has unresolved issues in Opera and Chromium. + </p> + </section> + <section name="Link to Demo"> + <p> + <a href="../../project/demo/drawing-tool/drawing-tool-with-graphical-debugger.html">Go to demo.</a> + </p> + </section> + </body> +</document> + + + + Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/drawing-tool3.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.xml URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.xml?rev=985579&r1=985578&r2=985579&view=diff ============================================================================== --- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.xml (original) +++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.xml Sat Aug 14 20:35:23 2010 @@ -25,7 +25,7 @@ <section name="Commons scxml-js Drawing Tool Demonstration"> <p> This demo shows how complex user interface behavioural requirements may be - described and implemented using SCXML. The goal was to + described and implemented using SCXML. The goal is to implement a subset of Inkscape's functionality, and to realize its behavioural requirements, which were obtained through observation (as opposed to analyzing at the code). @@ -73,10 +73,10 @@ Dragging non-selected node results in node being selected, and all other nodes being deselected. </p> <p> - Dragging (no shift) on canvas results in marquee being drawn, all nodes inside of marquee being selected, and all other nodes being deselected, + Dragging (no shift) on canvas results in marquee being drawn, all nodes inside of marquee being selected, and all other nodes being deselected. <em>(Not yet implemented)</em> </p> <p> - Dragging (with shift) on canvas results in marquee being drawn, all nodes inside of marquee being selected (added to selection). + Dragging (with shift) on canvas results in marquee being drawn, all nodes inside of marquee being selected (added to selection). <em>(Not yet implemented)</em> </p> <p> @@ -143,20 +143,6 @@ The SCXML representation of this behaviour can be found <a href="../../project/demo/drawing-tool/behaviour/canvas.xml">here</a>. </p> </section> - - <section name="Supported Browsers"> - <p> - To view this demo, you need a Web browser that supports SVG. - </p> - <p> - This demo has been tested in Firefox 3.6.8, Opera 10.6, and Chromium 5 on Ubuntu 10.04. - </p> - </section> - <section name="Link to Demo"> - <p> - <a href="../../project/demo/drawing-tool/drawing-tool-precompiled.html">Go to demo.</a> - </p> - </section> </body> </document> Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/hierarchical-layout/index.xml URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/hierarchical-layout/index.xml?rev=985579&r1=985578&r2=985579&view=diff ============================================================================== --- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/hierarchical-layout/index.xml (original) +++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/hierarchical-layout/index.xml Sat Aug 14 20:35:23 2010 @@ -36,7 +36,7 @@ To view this demo, you need a Web browser that supports SVG. </p> <p> - This demo has been tested in Firefox 3.6.8, Opera 10.6, and Chromium 5 on Ubuntu 10.04. + This demo has been tested in Firefox 3.6.8 on Ubuntu 10.04. It is known to have issues in Opera and Chromium. </p> </section> <section name="Link to Demo">