Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 28 Oct 2014 09:19:22 +0000 (17:19 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 28 Oct 2014 09:19:22 +0000 (17:19 +0800)
Builder4/MainWindow.vala

Builder4/MainWindow.bjs
Builder4/MainWindow.vala

index 0484a99..03bbf09 100644 (file)
@@ -36,7 +36,7 @@
             "# Editor code_editor" : "null",
             "|             void showCodeEdit" : "(JsRender.JsRender file, JsRender.Node node, string ptype, string key)\n{\n    // this is a bit different,\n    // it's not called via a button - but triggered by the prop edit class signal.\n    // so it has to hide any other state..\n    \n    switch(this.state) {\n        case \"object\":\n            this.hideObject();\n            break;\n        case \"addprop\":\n            this.hideAddProp();\n            break;\n        case \"addlistener\":\n            this.hideAddListener();\n            break;\n    }\n \n   _this.backbutton.el.show();\n   \n    _this.projectbutton.el.hide();\n    _this.editfilebutton.el.hide();\n    _this.projecteditbutton.el.hide();    \n   // more?? \n     \n    //this.rooview.el.hide();\n    this.code_editor.el.show_all();\n    this.code_editor.show(\n        file,\n        node,\n        ptype,\n        key\n    );\n\n    _this.codeeditview.el.save_easing_state();\n        \n    var el = _this.rooview.el;\n    el.save_easing_state();\n    _this.clutterembed.setSizesAlloc(\"codedit\");\n   \n    _this.codeeditview.el.set_scale(1.0f,1.0f);\n   \n   \n \n    //_this.clutterfiles.loadProject(_this.project);\n\n    el.restore_easing_state();\n    _this.codeeditview.el.restore_easing_state();\n    this.state = \"codeedit\";\n}\n",
             "# Xcls_DialogNewComponent new_file_dialog" : "null",
-            "string XXXX" : "",
+            "# Xcls_ValaProjectSettings vala_projectsettings" : "null",
             "# Xcls_ProjectSettings projectsettings" : "null",
             "|             void setTitle" : " (string str) {\n    this.el.set_title(this.title + \" - \" + str);\n}\n",
             "|             void show" : "() {\n    this.left_tree =new Xcls_WindowLeftTree();\n    _this.vbox.el.pack_start(this.left_tree.el,true, true,0);\n    this.el.show_all();\n\n}",
index dab9e2c..3e1fe06 100644 (file)
@@ -41,12 +41,12 @@ public class Xcls_MainWindow : Object
     public int no_windows;
     public Project.Project project;
     public bool children_loaded;
+    public Xcls_ValaProjectSettings vala_projectsettings;
     public Xcls_WindowLeftProjects left_projects;
     public Xcls_WindowRooView window_rooview;
     public Xcls_WindowLeftTree left_tree;
     public Editor code_editor;
     public Xcls_DialogNewComponent new_file_dialog;
-    public string XXXX;
     public Xcls_ProjectSettings projectsettings;
     public Xcls_ClutterFiles clutterfiles;
     public Xcls_LeftProps left_props;
@@ -66,6 +66,7 @@ public class Xcls_MainWindow : Object
         this.no_windows = 1;
         this.project = null;
         this.children_loaded = false;
+        this.vala_projectsettings = null;
         this.left_projects = null;
         this.window_rooview = null;
         this.left_tree = null;