"# int no_windows" : 1,
"# Project.Project project" : "null",
"# bool children_loaded" : false,
- "| void showAddProp" : "() {\n\n \n var ae = this.left_tree.getActiveElement();\n if (ae == null) {\n return;\n }\n _this.backbutton.el.show();\n _this.projectbutton.el.hide();\n _this.editfilebutton.el.hide();\n _this.projecteditbutton.el.hide(); \n \n \n \n //this.rooview.el.hide();\n this.add_props.el.show_all();\n this.add_props.show(\n Palete.factory(this.project.xtype), \n \"props\",\n ae.fqn()\n );\n\n _this.addpropsview.el.save_easing_state();\n \n var el = _this.rooview.el;\n el.save_easing_state();\n _this.clutterembed.setSizesAlloc(\"addprop\");\n \n \n\n _this.addpropsview.el.set_scale(1.0f,1.0f);\n \n \n \n //_this.clutterfiles.loadProject(_this.project);\n\n el.restore_easing_state();\n _this.addpropsview.el.restore_easing_state();\n this.state = \"addprop\";\n}",
- "| void showViewEditing" : " ( ) {\n this.editpane.el.show();\n // this.rooview.el.show();\n this.left_projects.el.hide();\n \n _this.addprojectbutton.el.hide(); \n _this.delprojectbutton.el.hide();\n _this.addfilebutton.el.hide(); \n _this.backbutton.el.hide();\n _this.new_window.el.hide(); \n \n \n _this.projectbutton.el.show(); \n _this.editfilebutton.el.show(); \n _this.projecteditbutton.el.show();\n _this.objectshowbutton.el.show();\n _this.addpropbutton.el.show(); \n _this.addlistenerbutton.el.show(); \n\n \n var el = _this.rooview.el;\n el.save_easing_state();\n \n \n el.set_rotation_angle(Clutter.RotateAxis.Y_AXIS, 0.0f);\n el.set_scale(1.0f,1.0f);\n _this.state = \"edit\";\n // _this.mainpane.el.set_position(_this.leftpane.lastWidth);\n _this.clutterfiles.el.hide();\n \n el.restore_easing_state();\n \n print(\"show view editing\");\n}",
"border_width" : 0,
"default_height" : 500,
"# Xcls_WindowLeftProjects left_projects" : "null",
"id" : "MainWindow",
- "| void showProjectEdit" : " () {\n // make the browser smaller, and show the edit dialog\n \n \n _this.projectbutton.el.hide();\n _this.projecteditbutton.el.hide();\n _this.editfilebutton.el.hide();\n \n _this.backbutton.el.show();\n \n //this.rooview.el.hide();\n \n \n if (this.project.xtype == \"Roo\") {\n this.projectsettings.el.show_all();\n this.projectsettings.show(this.project);\n } else {\n this.vala_projectsettings.el.show_all();\n this.vala_projectsettings.show((Project.Gtk)this.project);\n }\n _this.projecteditview.el.save_easing_state();\n \n var el = _this.rooview.el;\n el.save_easing_state();\n \n \n el.set_scale(0.5f,0.5f);\n\n _this.projecteditview.el.set_scale(1.0f,1.0f);\n \n _this.state = \"projectedit\";\n \n \n //_this.clutterfiles.loadProject(_this.project);\n\n el.restore_easing_state();\n _this.projecteditview.el.restore_easing_state();\n // print(\"show view browsing\");\n \n}\n",
- "| void showAddListener" : "() {\n\n \n \n var ae = this.left_tree.getActiveElement();\n if (ae == null) {\n return;\n }\n \n _this.backbutton.el.show();\n _this.projectbutton.el.hide();\n _this.editfilebutton.el.hide();\n _this.projecteditbutton.el.hide(); \n \n \n //this.rooview.el.hide();\n this.add_props.el.show_all();\n this.add_props.show(\n Palete.factory(this.project.xtype), \n \"signals\",\n ae.fqn()\n );\n //this.rightpalete.show(this.project);\n\n _this.addpropsview.el.save_easing_state();\n \n var el = _this.rooview.el;\n el.save_easing_state();\n \n _this.clutterembed.setSizesAlloc(\"addlistener\");\n\n \n \n\n _this.addpropsview.el.set_scale(1.0f,1.0f);\n \n \n \n //_this.clutterfiles.loadProject(_this.project);\n\n el.restore_easing_state();\n _this.addpropsview.el.restore_easing_state();\n this.state = \"addlistener\";\n}",
"# Xcls_WindowRooView window_rooview" : "null",
"default_width" : 800,
"xtype" : "Window",
"$ type" : "Gtk.WindowType.TOPLEVEL",
"# Xcls_WindowLeftTree left_tree" : "null",
"# 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",
"# Xcls_ProjectSettings projectsettings" : "null",
"| void setTitle" : " (string str) {\n this.el.set_title(this.title + \" - \" + str);\n}\n",
"# string title" : "\"Application Builder\"",
"# ValaProjectSettings vala_projectsettings" : "null",
"# Xcls_WindowAddProp add_props" : "null",
- "| void showObject" : "() {\n\n \n // what's the active node on the left hand side..\n \n var n = _this.left_tree.getActiveElement();\n\n if (_this.left_tree.model.file == null) {\n return;\n }\n \n if (n == null && _this.left_tree.model.file.tree != null) {\n return;\n }\n \n _this.backbutton.el.show();\n _this.projectbutton.el.hide();\n _this.editfilebutton.el.hide();\n _this.projecteditbutton.el.hide(); \n \n \n //this.rooview.el.hide();\n this.rightpalete.el.show_all();\n this.rightpalete.load(_this.left_tree.getActiveFile().palete(), n == null ? \"*top\" : n.fqn());\n\n \n //this.rightpalete.show(this.project);\n\n _this.objectview.el.save_easing_state();\n \n var el = _this.rooview.el;\n el.save_easing_state();\n \n _this.clutterembed.setSizesAlloc(\"object\");\n \n\n _this.objectview.el.set_scale(1.0f,1.0f);\n \n \n \n //_this.clutterfiles.loadProject(_this.project);\n\n el.restore_easing_state();\n _this.objectview.el.restore_easing_state();\n this.state = \"object\";\n}",
"* init" : " this.state = \"files\";\n\t \n //this.el.show_all();\n \n ",
"# WindowState windowstate" : "null",
"# Xcls_GtkView window_gladeview" : "null",
- }
- public void showAddProp () {
-
-
- var ae = this.left_tree.getActiveElement();
- if (ae == null) {
- return;
- }
- _this.backbutton.el.show();
- _this.projectbutton.el.hide();
- _this.editfilebutton.el.hide();
- _this.projecteditbutton.el.hide();
-
-
-
- //this.rooview.el.hide();
- this.add_props.el.show_all();
- this.add_props.show(
- Palete.factory(this.project.xtype),
- "props",
- ae.fqn()
- );
-
- _this.addpropsview.el.save_easing_state();
-
- var el = _this.rooview.el;
- el.save_easing_state();
- _this.clutterembed.setSizesAlloc("addprop");
-
-
-
- _this.addpropsview.el.set_scale(1.0f,1.0f);
-
-
-
- //_this.clutterfiles.loadProject(_this.project);
-
- el.restore_easing_state();
- _this.addpropsview.el.restore_easing_state();
- this.state = "addprop";
- }
- public void showViewEditing ( ) {
- this.editpane.el.show();
- // this.rooview.el.show();
- this.left_projects.el.hide();
-
- _this.addprojectbutton.el.hide();
- _this.delprojectbutton.el.hide();
- _this.addfilebutton.el.hide();
- _this.backbutton.el.hide();
- _this.new_window.el.hide();
-
-
- _this.projectbutton.el.show();
- _this.editfilebutton.el.show();
- _this.projecteditbutton.el.show();
- _this.objectshowbutton.el.show();
- _this.addpropbutton.el.show();
- _this.addlistenerbutton.el.show();
-
-
- var el = _this.rooview.el;
- el.save_easing_state();
-
-
- el.set_rotation_angle(Clutter.RotateAxis.Y_AXIS, 0.0f);
- el.set_scale(1.0f,1.0f);
- _this.state = "edit";
- // _this.mainpane.el.set_position(_this.leftpane.lastWidth);
- _this.clutterfiles.el.hide();
-
- el.restore_easing_state();
-
- print("show view editing");
- }
- public void showProjectEdit () {
- // make the browser smaller, and show the edit dialog
-
-
- _this.projectbutton.el.hide();
- _this.projecteditbutton.el.hide();
- _this.editfilebutton.el.hide();
-
- _this.backbutton.el.show();
-
- //this.rooview.el.hide();
-
-
- if (this.project.xtype == "Roo") {
- this.projectsettings.el.show_all();
- this.projectsettings.show(this.project);
- } else {
- this.vala_projectsettings.el.show_all();
- this.vala_projectsettings.show((Project.Gtk)this.project);
- }
- _this.projecteditview.el.save_easing_state();
-
- var el = _this.rooview.el;
- el.save_easing_state();
-
-
- el.set_scale(0.5f,0.5f);
-
- _this.projecteditview.el.set_scale(1.0f,1.0f);
-
- _this.state = "projectedit";
-
-
- //_this.clutterfiles.loadProject(_this.project);
-
- el.restore_easing_state();
- _this.projecteditview.el.restore_easing_state();
- // print("show view browsing");
-
- }
- public void showAddListener () {
-
-
-
- var ae = this.left_tree.getActiveElement();
- if (ae == null) {
- return;
- }
-
- _this.backbutton.el.show();
- _this.projectbutton.el.hide();
- _this.editfilebutton.el.hide();
- _this.projecteditbutton.el.hide();
-
-
- //this.rooview.el.hide();
- this.add_props.el.show_all();
- this.add_props.show(
- Palete.factory(this.project.xtype),
- "signals",
- ae.fqn()
- );
- //this.rightpalete.show(this.project);
-
- _this.addpropsview.el.save_easing_state();
-
- var el = _this.rooview.el;
- el.save_easing_state();
-
- _this.clutterembed.setSizesAlloc("addlistener");
-
-
-
-
- _this.addpropsview.el.set_scale(1.0f,1.0f);
-
-
-
- //_this.clutterfiles.loadProject(_this.project);
-
- el.restore_easing_state();
- _this.addpropsview.el.restore_easing_state();
- this.state = "addlistener";
- }
- public void showCodeEdit (JsRender.JsRender file, JsRender.Node node, string ptype, string key)
- {
- // this is a bit different,
- // it's not called via a button - but triggered by the prop edit class signal.
- // so it has to hide any other state..
-
- switch(this.state) {
- case "object":
- this.hideObject();
- break;
- case "addprop":
- this.hideAddProp();
- break;
- case "addlistener":
- this.hideAddListener();
- break;
- }
-
- _this.backbutton.el.show();
-
- _this.projectbutton.el.hide();
- _this.editfilebutton.el.hide();
- _this.projecteditbutton.el.hide();
- // more??
-
- //this.rooview.el.hide();
- this.code_editor.el.show_all();
- this.code_editor.show(
- file,
- node,
- ptype,
- key
- );
-
- _this.codeeditview.el.save_easing_state();
-
- var el = _this.rooview.el;
- el.save_easing_state();
- _this.clutterembed.setSizesAlloc("codedit");
-
- _this.codeeditview.el.set_scale(1.0f,1.0f);
-
-
-
- //_this.clutterfiles.loadProject(_this.project);
-
- el.restore_easing_state();
- _this.codeeditview.el.restore_easing_state();
- this.state = "codeedit";
}
public void setTitle (string str) {
this.el.set_title(this.title + " - " + str);
this.el.show_all();
}
- public void showObject () {
-
-
- // what's the active node on the left hand side..
-
- var n = _this.left_tree.getActiveElement();
-
- if (_this.left_tree.model.file == null) {
- return;
- }
-
- if (n == null && _this.left_tree.model.file.tree != null) {
- return;
- }
-
- _this.backbutton.el.show();
- _this.projectbutton.el.hide();
- _this.editfilebutton.el.hide();
- _this.projecteditbutton.el.hide();
-
-
- //this.rooview.el.hide();
- this.rightpalete.el.show_all();
- this.rightpalete.load(_this.left_tree.getActiveFile().palete(), n == null ? "*top" : n.fqn());
-
-
- //this.rightpalete.show(this.project);
-
- _this.objectview.el.save_easing_state();
-
- var el = _this.rooview.el;
- el.save_easing_state();
-
- _this.clutterembed.setSizesAlloc("object");
-
-
- _this.objectview.el.set_scale(1.0f,1.0f);
-
-
-
- //_this.clutterfiles.loadProject(_this.project);
-
- el.restore_easing_state();
- _this.objectview.el.restore_easing_state();
- this.state = "object";
- }
public class Xcls_vbox : Object
{
public Gtk.VBox el;