src/JsRender/Gtk.vala
authorAlan Knowles <alan@roojs.com>
Wed, 27 May 2015 08:15:23 +0000 (16:15 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 27 May 2015 08:15:23 +0000 (16:15 +0800)
src/JsRender/JsRender.vala
src/JsRender/Roo.vala
src/Builder4/Editor.bjs
src/Builder4/Editor.vala

src/Builder4/Editor.bjs
src/Builder4/Editor.vala
src/JsRender/Gtk.vala
src/JsRender/JsRender.vala
src/JsRender/Roo.vala

index 6849097..c3c7a6a 100644 (file)
@@ -18,7 +18,7 @@
    "# string key" : "\"\"",
    "* pack" : "add",
    "xtype" : "Box",
-   "|   void show" : "(JsRender.JsRender file, JsRender.Node node, string ptype, string key)\n{\n    this.file = file;    \n    this.ptype = \"\";\n    this.key  = \"\";\n    this.node = null;\n\n    \n    if (file.xtype != \"PlainFile\") {\n    \n        this.ptype = ptype;\n        this.key  = key;\n        this.node = node;\n         string val = \"\";\n        // find the text for the node..\n        if (ptype == \"listener\") {\n            val = node.listeners.get(key);\n        \n        } else {\n            val = node.props.get(key);\n        }\n        this.view.load(val);\n\n    \n    } else {\n        this.view.load(        file.toSource() );\n\n    }\n    this.key_edit.el.text = key;  \n    \n     \n\n}",
+   "|   void show" : "(JsRender.JsRender file, JsRender.Node node, string ptype, string key)\n{\n    this.file = file;    \n    this.ptype = \"\";\n    this.key  = \"\";\n    this.node = null;\n\n    \n    if (file.xtype != \"PlainFile\") {\n    \n        this.ptype = ptype;\n        this.key  = key;\n        this.node = node;\n         string val = \"\";\n        // find the text for the node..\n        if (ptype == \"listener\") {\n            val = node.listeners.get(key);\n        \n        } else {\n            val = node.props.get(key);\n        }\n        this.view.load(val);\n\n    \n    } else {\n        this.view.load(        file.toSource() );\n\n    }\n    this.key_edit.el.text = key;  \n    \n      \n}",
    "# JsRender.JsRender file" : "null",
    "# bool pos" : false,
    "string id" : "Editor",
index 044f364..e396e7e 100644 (file)
@@ -130,8 +130,7 @@ public class Editor : Object
         }
         this.key_edit.el.text = key;  
         
-         
-    
+          
     }
     public class Xcls_Box2 : Object
     {
index 74af89c..e40f4f0 100644 (file)
@@ -126,7 +126,7 @@ namespace JsRender {
         {
                        return "";
                }
-        public override string setSource(string str) {}
+        public override void setSource(string str) {}
         
         public override string toSource()
         {
index cb65848..a842135 100644 (file)
@@ -363,7 +363,7 @@ namespace JsRender {
                public abstract void save();
                public abstract void saveHTML(string html);
                public abstract string toSource() ;
-               public abstract string setSource(string str);
+               public abstract void setSource(string str);
                public abstract string toSourcePreview() ;
                public abstract void removeFiles() ;
                 public abstract void  findTransStrings(Node? node );
index 13c950d..ac616c9 100644 (file)
@@ -467,7 +467,7 @@ namespace JsRender {
                                
             
         }
-        public override string setSource(string str) {}
+        public override void setSource(string str) {}
         /**
          * This needs to use some options on the project
          * to determine how the file is output..