+ // this.win.rooview.el.restore_easing_state();
+ break;
+ }
+ }
+
+ // -- buttons show hide.....
+
+ public void buttonsShowHide()
+ {
+ // basically hide everything, then show the relivant..
+
+ this.win.backbutton.el.hide();
+
+ this.win.projectbutton.el.hide(); // show file nav...
+ this.win.editfilebutton.el.hide();
+ this.win.projecteditbutton.el.hide();
+
+
+ this.win.objectshowbutton.el.hide(); // add objects
+ this.win.addpropbutton.el.hide();
+ this.win.addlistenerbutton.el.hide();
+
+
+
+ this.win.addprojectbutton.el.hide();
+ this.win.addfilebutton.el.hide();
+ this.win.delprojectbutton.el.hide();
+ this.win.new_window.el.hide();
+ this.win.reload_resources.el.hide();
+
+ switch (this.state) {
+
+ case State.PREVIEW: // this is the default state when working...
+
+ this.win.projectbutton.el.show(); // show file nav...
+ this.win.editfilebutton.el.show();
+ this.win.projecteditbutton.el.show();
+
+
+ this.win.objectshowbutton.el.show(); // add objects
+ this.win.addpropbutton.el.show();
+ this.win.addlistenerbutton.el.show();
+ break;
+
+
+ case State.CODE:
+ case State.PROP:
+ case State.LISTENER:
+ case State.OBJECT:
+
+ this.win.backbutton.el.show();
+ this.win.objectshowbutton.el.show(); // add objects
+ this.win.addpropbutton.el.show();
+ this.win.addlistenerbutton.el.show();
+ break;
+
+ case State.PROJECT:
+ // anything else?
+ this.win.backbutton.el.show();
+ break;
+
+
+ case State.FILES:
+ this.win.backbutton.el.show();
+
+ this.win.addprojectbutton.el.show();
+ this.win.addfilebutton.el.show();
+ this.win.delprojectbutton.el.show();
+ this.win.new_window.el.show();
+ this.win.reload_resources.el.show();