pivot-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gbr...@apache.org
Subject svn commit: r963856 - in /pivot/trunk: demos/src/org/apache/pivot/demos/binding/ demos/www/ tutorials/src/org/apache/pivot/tutorials/databinding/ tutorials/www/
Date Tue, 13 Jul 2010 20:48:54 GMT
Author: gbrown
Date: Tue Jul 13 20:48:53 2010
New Revision: 963856

URL: http://svn.apache.org/viewvc?rev=963856&view=rev
Log:
Move namespace binding demo to tutorials.

Added:
    pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/PropertyBinding.java
      - copied, changed from r962657, pivot/trunk/demos/src/org/apache/pivot/demos/binding/NamespaceBindingDemo.java
    pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/property_binding.bxml
      - copied, changed from r962734, pivot/trunk/demos/src/org/apache/pivot/demos/binding/namespace_binding_demo.bxml
    pivot/trunk/tutorials/www/property-binding.xml
      - copied, changed from r962734, pivot/trunk/demos/www/namespace-binding.xml
Removed:
    pivot/trunk/demos/src/org/apache/pivot/demos/binding/NamespaceBindingDemo.java
    pivot/trunk/demos/src/org/apache/pivot/demos/binding/namespace_binding_demo.bxml
    pivot/trunk/demos/www/namespace-binding.xml
Modified:
    pivot/trunk/demos/www/index.xml
    pivot/trunk/tutorials/www/index.xml

Modified: pivot/trunk/demos/www/index.xml
URL: http://svn.apache.org/viewvc/pivot/trunk/demos/www/index.xml?rev=963856&r1=963855&r2=963856&view=diff
==============================================================================
--- pivot/trunk/demos/www/index.xml (original)
+++ pivot/trunk/demos/www/index.xml Tue Jul 13 20:48:53 2010
@@ -32,7 +32,6 @@ limitations under the License.
         <document-item id="itunes-search"/>
         <document-item id="decorators"/>
         <document-item id="suggest"/>
-        <document-item id="namespace-binding"/>
         <document-item id="xml-viewer"/>
         <document-item id="json-viewer"/>
         <document-item id="table-row-editor"/>

Copied: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/PropertyBinding.java
(from r962657, pivot/trunk/demos/src/org/apache/pivot/demos/binding/NamespaceBindingDemo.java)
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/PropertyBinding.java?p2=pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/PropertyBinding.java&p1=pivot/trunk/demos/src/org/apache/pivot/demos/binding/NamespaceBindingDemo.java&r1=962657&r2=963856&rev=963856&view=diff
==============================================================================
--- pivot/trunk/demos/src/org/apache/pivot/demos/binding/NamespaceBindingDemo.java (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/PropertyBinding.java
Tue Jul 13 20:48:53 2010
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.pivot.demos.binding;
+package org.apache.pivot.tutorials.databinding;
 
 import java.net.URL;
 
@@ -24,7 +24,7 @@ import org.apache.pivot.collections.Map;
 import org.apache.pivot.util.Resources;
 import org.apache.pivot.wtk.Window;
 
-public class NamespaceBindingDemo extends Window implements Bindable {
+public class PropertyBinding extends Window implements Bindable {
     @Override
     public void initialize(Map<String, Object> namespace, URL location, Resources resources)
{
         // Manually bind list button selection to label text

Copied: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/property_binding.bxml
(from r962734, pivot/trunk/demos/src/org/apache/pivot/demos/binding/namespace_binding_demo.bxml)
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/property_binding.bxml?p2=pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/property_binding.bxml&p1=pivot/trunk/demos/src/org/apache/pivot/demos/binding/namespace_binding_demo.bxml&r1=962734&r2=963856&rev=963856&view=diff
==============================================================================
--- pivot/trunk/demos/src/org/apache/pivot/demos/binding/namespace_binding_demo.bxml (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/databinding/property_binding.bxml
Tue Jul 13 20:48:53 2010
@@ -16,9 +16,9 @@ See the License for the specific languag
 limitations under the License.
 -->
 
-<binding:NamespaceBindingDemo title="Namespace Binding Test" maximized="true"
+<databinding:PropertyBinding title="Property Binding" maximized="true"
     xmlns:bxml="http://pivot.apache.org/bxml"
-    xmlns:binding="org.apache.pivot.demos.binding"
+    xmlns:databinding="org.apache.pivot.tutorials.databinding"
     xmlns="org.apache.pivot.wtk">
     <Border>
         <Form>
@@ -48,4 +48,4 @@ limitations under the License.
             </Form.Section>
         </Form>
     </Border>
-</binding:NamespaceBindingDemo>
+</databinding:PropertyBinding>

Modified: pivot/trunk/tutorials/www/index.xml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/www/index.xml?rev=963856&r1=963855&r2=963856&view=diff
==============================================================================
--- pivot/trunk/tutorials/www/index.xml (original)
+++ pivot/trunk/tutorials/www/index.xml Tue Jul 13 20:48:53 2010
@@ -121,7 +121,9 @@ limitations under the License.
             <document-item id="effects">
                 <document-item id="effects.transitions"/>
             </document-item>
-            <document-item id="data-binding"/>
+            <document-item id="data-binding">
+                <document-item id="property-binding"/>
+            </document-item>
             <document-item id="localization"/>
             <document-item id="background-tasks"/>
             <document-item id="web-queries">

Copied: pivot/trunk/tutorials/www/property-binding.xml (from r962734, pivot/trunk/demos/www/namespace-binding.xml)
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/www/property-binding.xml?p2=pivot/trunk/tutorials/www/property-binding.xml&p1=pivot/trunk/demos/www/namespace-binding.xml&r1=962734&r2=963856&rev=963856&view=diff
==============================================================================
--- pivot/trunk/demos/www/namespace-binding.xml (original)
+++ pivot/trunk/tutorials/www/property-binding.xml Tue Jul 13 20:48:53 2010
@@ -18,7 +18,7 @@ limitations under the License.
 
 <document>
     <properties>
-        <title>Namespace Binding</title>
+        <title>Property Binding</title>
         <description>
             Demonstrates dynamic property binding in Pivot.
         </description>
@@ -34,11 +34,11 @@ limitations under the License.
                 <library>core</library>
                 <library>wtk</library>
                 <library>wtk-terra</library>
-                <library>demos</library>
+                <library>tutorials</library>
             </libraries>
 
             <startup-properties>
-                <src>org/apache/pivot/demos/binding/namespace_binding_demo.bxml</src>
+                <src>org/apache/pivot/tutorials/databinding/property_binding.bxml</src>
             </startup-properties>
         </application>
     </body>



Mime
View raw message