Changeset 103:8662f632b66a for source/class
- Timestamp:
- Jan 14, 2009, 1:11:44 PM (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/class/pf/Application.js
r102 r103 252 252 } 253 253 254 function showWavesCB(ev) 255 { 256 this.showWaves = !this.showWaves; 257 this.rePopulateTree(); 258 } 259 260 function showCollisionsCB(ev) 261 { 262 this.showCollisions = !this.showCollisions; 263 this.rePopulateTree(); 264 } 265 254 266 function showElectronsCB(ev) 255 267 { … … 366 378 showFundamental : true, 367 379 showSpectroscopy : true, 380 showWaves : true, 381 showCollisions : true, 368 382 369 383 showElectrons : true, … … 802 816 if (entity.section == "spectroscopy" && 803 817 this.showSpectroscopy != true) { 818 continue; 819 } 820 if (entity.section == "waves" && 821 this.showWaves != true) { 822 continue; 823 } 824 if (entity.section == "collisions" && 825 this.showCollisions != true) { 804 826 continue; 805 827 } … … 2081 2103 button.addListener("execute", showSpectroscopyCB, this); 2082 2104 subMenu1.add(button); 2105 button = new qx.legacy.ui.menu.CheckBox("Waves", 2106 null, this.showWaves); 2107 button.addListener("execute", showWavesCB, this); 2108 subMenu1.add(button); 2109 button = new qx.legacy.ui.menu.CheckBox("Collisions", 2110 null, this.showCollisions); 2111 button.addListener("execute", showCollisionsCB, this); 2112 subMenu1.add(button); 2083 2113 this.showSectionsButton = new qx.legacy.ui.menu.Button("Show Sections", 2084 2114 null, null, subMenu1);
Note: See TracChangeset
for help on using the changeset viewer.