rem: qx.Class.define($[1356],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function($0,$1,$2,$3){arguments.callee.base.call(this);var $4=this._iconObject=new qx.ui.basic.Image;$4.setWidth(16);$4.setAnonymous(true);var $5=this._labelObject=new qx.ui.basic.Label;$5.setAnonymous(true);$5.setSelectable(false);var $6=this._shortcutObject=new qx.ui.basic.Label;$6.setAnonymous(true);$6.setSelectable(false);var $7=this._arrowObject=new qx.ui.basic.Image;$7.setAppearance($[522]);$7.setAnonymous(true);if($0!=null){this.setLabel($0);}if($1!=null){this.setIcon($1);}if($2!=null){this.setCommand($2);qx.locale.Manager.getInstance().addEventListener($[209],function($8){this._applyCommand($2,$2);},this);}if($3!=null){this.setMenu($3);}this.initMinWidth();this.initHeight();this.addEventListener($[20],this._onmouseup);},properties:{allowStretchX:{refine:true,init:true},appearance:{refine:true,init:$[1214]},minWidth:{refine:true,init:$[3]},height:{refine:true,init:$[3]},icon:{check:$[6],apply:$[176],nullable:true,themeable:true},label:{apply:$[287],nullable:true,dispose:true},menu:{check:$[154],nullable:true,apply:$[435]}},members:{_hasIcon:false,_hasLabel:false,_hasShortcut:false,_hasMenu:false,hasIcon:function(){return this._hasIcon;},hasLabel:function(){return this._hasLabel;},hasShortcut:function(){return this._hasShortcut;},hasMenu:function(){return this._hasMenu;},getIconObject:function(){return this._iconObject;},getLabelObject:function(){return this._labelObject;},getShortcutObject:function(){return this._shortcutObject;},getArrowObject:function(){return this._arrowObject;},getParentMenu:function(){var $9=this.getParent();if($9){$9=$9.getParent();if($9&&$9 instanceof qx.ui.menu.Menu){return $9;}}return null;},_createLayoutImpl:function(){return new qx.ui.menu.ButtonLayoutImpl(this);},_applyIcon:function($a,$b){this._iconObject.setSource($a);if($a&&$a!==$[0]){this._hasIcon=true;if(!$b||$b===$[0]){this.addAtBegin(this._iconObject);}}else{this._hasIcon=false;this.remove(this._iconObject);}},_applyLabel:function($a,$b){this._labelObject.setText($a);if($a&&$a!==$[0]){this._hasLabel=true;if(!$b||$b===$[0]){this.addAt(this._labelObject,this.getFirstChild()==this._iconObject?1:0);}}else{this._hasLabel=false;this.remove(this._labelObject);}},_applyCommand:function($a,$b){var $c=$a?$a.toString():$[0];this._shortcutObject.setText($c);if(qx.util.Validation.isValidString($c)){this._hasShortcut=true;var $d=$b?$b.toString():$[0];if(qx.util.Validation.isInvalidString($d)){if(this.getLastChild()==this._arrowObject){this.addBefore(this._shortcutObject,this._arrowObject);}else{this.addAtEnd(this._shortcutObject);}}}else{this._hasShortcut=false;this.remove(this._shortcutObject);}},_applyMenu:function($a,$b){if($a){this._hasMenu=true;if(qx.util.Validation.isInvalidObject($b)){this.addAtEnd(this._arrowObject);}}else{this._hasMenu=false;this.remove(this._arrowObject);}},_onmouseup:function($8){this.execute();}},destruct:function(){this._disposeObjects($[297],$[234],$[1618],$[1436]);}}); 
add: qx.Class.define($[1341],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function($0,$1,$2,$3){arguments.callee.base.call(this);var $4=this._iconObject=new qx.ui.basic.Image;$4.setWidth(16);$4.setAnonymous(true);var $5=this._labelObject=new qx.ui.basic.Label;$5.setAnonymous(true);$5.setSelectable(false);var $6=this._shortcutObject=new qx.ui.basic.Label;$6.setAnonymous(true);$6.setSelectable(false);var $7=this._arrowObject=new qx.ui.basic.Image;$7.setAppearance($[516]);$7.setAnonymous(true);if($0!=null){this.setLabel($0);}if($1!=null){this.setIcon($1);}if($2!=null){this.setCommand($2);qx.locale.Manager.getInstance().addEventListener($[208],function($8){this._applyCommand($2,$2);},this);}if($3!=null){this.setMenu($3);}this.initMinWidth();this.initHeight();this.addEventListener($[20],this._onmouseup);},properties:{allowStretchX:{refine:true,init:true},appearance:{refine:true,init:$[1198]},minWidth:{refine:true,init:$[3]},height:{refine:true,init:$[3]},icon:{check:$[6],apply:$[173],nullable:true,themeable:true},label:{apply:$[284],nullable:true,dispose:true},menu:{check:$[152],nullable:true,apply:$[431]}},members:{_hasIcon:false,_hasLabel:false,_hasShortcut:false,_hasMenu:false,hasIcon:function(){return this._hasIcon;},hasLabel:function(){return this._hasLabel;},hasShortcut:function(){return this._hasShortcut;},hasMenu:function(){return this._hasMenu;},getIconObject:function(){return this._iconObject;},getLabelObject:function(){return this._labelObject;},getShortcutObject:function(){return this._shortcutObject;},getArrowObject:function(){return this._arrowObject;},getParentMenu:function(){var $9=this.getParent();if($9){$9=$9.getParent();if($9&&$9 instanceof qx.ui.menu.Menu){return $9;}}return null;},_createLayoutImpl:function(){return new qx.ui.menu.ButtonLayoutImpl(this);},_applyIcon:function($a,$b){this._iconObject.setSource($a);if($a&&$a!==$[0]){this._hasIcon=true;if(!$b||$b===$[0]){this.addAtBegin(this._iconObject);}}else{this._hasIcon=false;this.remove(this._iconObject);}},_applyLabel:function($a,$b){this._labelObject.setText($a);if($a&&$a!==$[0]){this._hasLabel=true;if(!$b||$b===$[0]){this.addAt(this._labelObject,this.getFirstChild()==this._iconObject?1:0);}}else{this._hasLabel=false;this.remove(this._labelObject);}},_applyCommand:function($a,$b){var $c=$a?$a.toString():$[0];this._shortcutObject.setText($c);if(qx.util.Validation.isValidString($c)){this._hasShortcut=true;var $d=$b?$b.toString():$[0];if(qx.util.Validation.isInvalidString($d)){if(this.getLastChild()==this._arrowObject){this.addBefore(this._shortcutObject,this._arrowObject);}else{this.addAtEnd(this._shortcutObject);}}}else{this._hasShortcut=false;this.remove(this._shortcutObject);}},_applyMenu:function($a,$b){if($a){this._hasMenu=true;if(qx.util.Validation.isInvalidObject($b)){this.addAtEnd(this._arrowObject);}}else{this._hasMenu=false;this.remove(this._arrowObject);}},_onmouseup:function($8){this.execute();}},destruct:function(){this._disposeObjects($[294],$[233],$[1599],$[1421]);}}); 
context: qx.Class.define($[1356],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function($0,$1,$2,$3){arguments.callee.base.call(this);var $4=this._iconObject=new qx.ui.basic.Image;$4.setWidth(16);$4.setAnonymous(true);var $5=this._labelObject=new qx.ui.basic.Label;$5.setAnonymous(true);$5.setSelectable(false);var $6=this._shortcutObject=new qx.ui.basic.Label;$6.setAnonymous(true);$6.setSelectable(false);var $7=this._arrowObject=new qx.ui.basic.Image;$7.setAppearance($[522]);$7.setAnonymous(true);if($0!=null){this.setLabel($0);}if($1!=null){this.setIcon($1);}if($2!=null){this.setCommand($2);qx.locale.Manager.getInstance().addEventListener($[209],function($8){this._applyCommand($2,$2);},this);}if($3!=null){this.setMenu($3);}this.initMinWidth();this.initHeight();this.addEventListener($[20],this._onmouseup);},properties:{allowStretchX:{refine:true,init:true},appearance:{refine:true,init:$[1214]},minWidth:{refine:true,init:$[3]},height:{refine:true,init:$[3]},icon:{check:$[6],apply:$[176],nullable:true,themeable:true},label:{apply:$[287],nullable:true,dispose:true},menu:{check:$[154],nullable:true,apply:$[435]}},members:{_hasIcon:false,_hasLabel:false,_hasShortcut:false,_hasMenu:false,hasIcon:function(){return this._hasIcon;},hasLabel:function(){return this._hasLabel;},hasShortcut:function(){return this._hasShortcut;},hasMenu:function(){return this._hasMenu;},getIconObject:function(){return this._iconObject;},getLabelObject:function(){return this._labelObject;},getShortcutObject:function(){return this._shortcutObject;},getArrowObject:function(){return this._arrowObject;},getParentMenu:function(){var $9=this.getParent();if($9){$9=$9.getParent();if($9&&$9 instanceof qx.ui.menu.Menu){return $9;}}return null;},_createLayoutImpl:function(){return new qx.ui.menu.ButtonLayoutImpl(this);},_applyIcon:function($a,$b){this._iconObject.setSource($a);if($a&&$a!==$[0]){this._hasIcon=true;if(!$b||$b===$[0]){this.addAtBegin(this._iconObject);}}else{this._hasIcon=false;this.remove(this._iconObject);}},_applyLabel:function($a,$b){this._labelObject.setText($a);if($a&&$a!==$[0]){this._hasLabel=true;if(!$b||$b===$[0]){this.addAt(this._labelObject,this.getFirstChild()==this._iconObject?1:0);}}else{this._hasLabel=false;this.remove(this._labelObject);}},_applyCommand:function($a,$b){var $c=$a?$a.toString():$[0];this._shortcutObject.setText($c);if(qx.util.Validation.isValidString($c)){this._hasShortcut=true;var $d=$b?$b.toString():$[0];if(qx.util.Validation.isInvalidString($d)){if(this.getLastChild()==this._arrowObject){this.addBefore(this._shortcutObject,this._arrowObject);}else{this.addAtEnd(this._shortcutObject);}}}else{this._hasShortcut=false;this.remove(this._shortcutObject);}},_applyMenu:function($a,$b){if($a){this._hasMenu=true;if(qx.util.Validation.isInvalidObject($b)){this.addAtEnd(this._arrowObject);}}else{this._hasMenu=false;this.remove(this._arrowObject);}},_onmouseup:function($8){this.execute();}},destruct:function(){this._disposeObjects($[297],$[234],$[1618],$[1436]);}});
meta: 8114	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8114/13ff1586340eab408e4ad6cb002ad8d5752801c4/qx.js/clean/bundles/org.eclipse.rap.rwt/js/qx.js