"destroy" : "() => {\n Xcls_MainWindow.singleton().no_windows--;\n \n if (Xcls_MainWindow.singleton().no_windows < 1) {\n\n Gtk.main_quit();\n }\n}",
"show" : " ( ) => {\n // hide the file editing..\n \n //this.hideViewEditing();\n}"
},
- "| void hideAddListener" : "() {\n _this.backbutton.el.hide();\n _this.projectbutton.el.show(); \n _this.projecteditbutton.el.show();\n _this.editfilebutton.el.show(); \n _this.addpropsview.el.save_easing_state();\n var el = _this.rooview.el;\n el.save_easing_state();\n\n \n el.set_scale(1.0f,1.0f);\n _this.addpropsview.el.set_scale(0.0f,0.0f);\n _this.state = \"edit\";\n\n \n //_this.clutterfiles.loadProject(_this.project);\n\n el.restore_easing_state();\n _this.addpropsview.el.restore_easing_state(); \n }",
"| void initChildren" : " () {\n // this needs putting in a better place..\n this.windowstate = new WindowState(this);\n \n\n //w.el.show_all();\n var tl = new Clutter.Timeline(6000);\n tl.set_repeat_count(-1);\n tl.start();\n tl.ref();\n\n this.children_loaded = true;\n\n\n\n\n}\n",
"# int no_windows" : 1,
"# Project.Project project" : "null",
"# bool children_loaded" : false,
- "| void hideCodeEdit" : "() {\n //this.code_editor.saveContents();\n _this.backbutton.el.hide();\n\n _this.projectbutton.el.show(); \n _this.projecteditbutton.el.show();\n _this.editfilebutton.el.show(); \n \n \n \n _this.codeeditview.el.save_easing_state();\n var el = _this.rooview.el;\n el.save_easing_state();\n\n \n el.set_scale(1.0f,1.0f);\n _this.codeeditview.el.set_scale(0.0f,0.0f);\n _this.state = \"edit\";\n\n \n //_this.clutterfiles.loadProject(_this.project);\n\n el.restore_easing_state();\n _this.codeeditview.el.restore_easing_state(); \n }",
"| 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,
- "| void hideProjectEdit" : " () {\n // return to editing state..\n \n _this.projectbutton.el.show();\n _this.projecteditbutton.el.show();\n _this.backbutton.el.hide();\n _this.editfilebutton.el.show(); \n\n \n if (this.project.xtype == \"Roo\") {\n \n //this.projectsettings.show(this.project);\n } else {\n\n this.vala_projectsettings.project.writeConfig();\n }\n _this.projecteditview.el.save_easing_state();\n var el = _this.rooview.el;\n el.save_easing_state();\n\n \n el.set_scale(1.0f,1.0f);\n _this.projecteditview.el.set_scale(1.0f,0.0f);\n _this.state = \"edit\";\n\n \n //_this.clutterfiles.loadProject(_this.project);\n\n el.restore_easing_state();\n _this.projecteditview.el.restore_easing_state(); \n \n}\n",
"default_height" : 500,
"# Xcls_WindowLeftProjects left_projects" : "null",
"id" : "MainWindow",
"default_width" : 800,
"xtype" : "Window",
"$ type" : "Gtk.WindowType.TOPLEVEL",
- "| void hideAddProp" : "() {\n _this.backbutton.el.hide();\n _this.projectbutton.el.show(); \n _this.projecteditbutton.el.show();\n _this.editfilebutton.el.show(); \n _this.addpropsview.el.save_easing_state();\n \n var el = _this.rooview.el;\n el.save_easing_state();\n\n \n el.set_scale(1.0f,1.0f);\n _this.addpropsview.el.set_scale(0.0f,0.0f);\n _this.state = \"edit\";\n\n \n //_this.clutterfiles.loadProject(_this.project);\n\n el.restore_easing_state();\n _this.addpropsview.el.restore_easing_state(); \n }",
"# 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",
"$ xns" : "Gtk",
"# Xcls_ClutterFiles clutterfiles" : "null",
"# Xcls_LeftProps left_props" : "null",
- "| void hideViewEditing" : " ( ) {\n\n// show the file navigation...\n this.windowstate.set(WindowState.State.FILES);\n\n}",
"# Xcls_RightPalete rightpalete" : "null",
"# string title" : "\"Application Builder\"",
"# ValaProjectSettings vala_projectsettings" : "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",
- "| void hideObject" : "() {\n // return to editing state..\n \n _this.projecteditbutton.el.show();\n _this.backbutton.el.hide();\n _this.projectbutton.el.show(); \n _this.editfilebutton.el.show(); \n _this.objectview.el.save_easing_state();\n var el = _this.rooview.el;\n el.save_easing_state();\n\n \n el.set_scale(1.0f,1.0f);\n _this.objectview.el.set_scale(0.0f,0.0f);\n _this.state = \"edit\";\n\n \n //_this.clutterfiles.loadProject(_this.project);\n\n el.restore_easing_state();\n _this.objectview.el.restore_easing_state(); \n \n\n}",
"# Xcls_GtkView window_gladeview" : "null",
"items" : [
{
}
// user defined functions
- public void hideAddListener () {
- _this.backbutton.el.hide();
- _this.projectbutton.el.show();
- _this.projecteditbutton.el.show();
- _this.editfilebutton.el.show();
- _this.addpropsview.el.save_easing_state();
- var el = _this.rooview.el;
- el.save_easing_state();
-
-
- el.set_scale(1.0f,1.0f);
- _this.addpropsview.el.set_scale(0.0f,0.0f);
- _this.state = "edit";
-
-
- //_this.clutterfiles.loadProject(_this.project);
-
- el.restore_easing_state();
- _this.addpropsview.el.restore_easing_state();
- }
public void initChildren () {
// this needs putting in a better place..
this.windowstate = new WindowState(this);
}
- public void hideCodeEdit () {
- //this.code_editor.saveContents();
- _this.backbutton.el.hide();
-
- _this.projectbutton.el.show();
- _this.projecteditbutton.el.show();
- _this.editfilebutton.el.show();
-
-
-
- _this.codeeditview.el.save_easing_state();
- var el = _this.rooview.el;
- el.save_easing_state();
-
-
- el.set_scale(1.0f,1.0f);
- _this.codeeditview.el.set_scale(0.0f,0.0f);
- _this.state = "edit";
-
-
- //_this.clutterfiles.loadProject(_this.project);
-
- el.restore_easing_state();
- _this.codeeditview.el.restore_easing_state();
- }
public void showAddProp () {
print("show view editing");
}
- public void hideProjectEdit () {
- // return to editing state..
-
- _this.projectbutton.el.show();
- _this.projecteditbutton.el.show();
- _this.backbutton.el.hide();
- _this.editfilebutton.el.show();
-
-
- if (this.project.xtype == "Roo") {
-
- //this.projectsettings.show(this.project);
- } else {
-
- this.vala_projectsettings.project.writeConfig();
- }
- _this.projecteditview.el.save_easing_state();
- var el = _this.rooview.el;
- el.save_easing_state();
-
-
- el.set_scale(1.0f,1.0f);
- _this.projecteditview.el.set_scale(1.0f,0.0f);
- _this.state = "edit";
-
-
- //_this.clutterfiles.loadProject(_this.project);
-
- el.restore_easing_state();
- _this.projecteditview.el.restore_easing_state();
-
- }
public void showProjectEdit () {
// make the browser smaller, and show the edit dialog
_this.addpropsview.el.restore_easing_state();
this.state = "addlistener";
}
- public void hideAddProp () {
- _this.backbutton.el.hide();
- _this.projectbutton.el.show();
- _this.projecteditbutton.el.show();
- _this.editfilebutton.el.show();
- _this.addpropsview.el.save_easing_state();
-
- var el = _this.rooview.el;
- el.save_easing_state();
-
-
- el.set_scale(1.0f,1.0f);
- _this.addpropsview.el.set_scale(0.0f,0.0f);
- _this.state = "edit";
-
-
- //_this.clutterfiles.loadProject(_this.project);
-
- el.restore_easing_state();
- _this.addpropsview.el.restore_easing_state();
- }
public void showCodeEdit (JsRender.JsRender file, JsRender.Node node, string ptype, string key)
{
// this is a bit different,
_this.vbox.el.pack_start(this.left_tree.el,true, true,0);
this.el.show_all();
- }
- public void hideViewEditing ( ) {
-
- // show the file navigation...
- this.windowstate.set(WindowState.State.FILES);
-
}
public void showObject () {
el.restore_easing_state();
_this.objectview.el.restore_easing_state();
this.state = "object";
- }
- public void hideObject () {
- // return to editing state..
-
- _this.projecteditbutton.el.show();
- _this.backbutton.el.hide();
- _this.projectbutton.el.show();
- _this.editfilebutton.el.show();
- _this.objectview.el.save_easing_state();
- var el = _this.rooview.el;
- el.save_easing_state();
-
-
- el.set_scale(1.0f,1.0f);
- _this.objectview.el.set_scale(0.0f,0.0f);
- _this.state = "edit";
-
-
- //_this.clutterfiles.loadProject(_this.project);
-
- el.restore_easing_state();
- _this.objectview.el.restore_easing_state();
-
-
}
public class Xcls_vbox : Object
{