Changeset 103:8662f632b66a
- Timestamp:
- Jan 14, 2009, 1:11:44 PM (16 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- source
- Files:
-
- 2 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); -
source/entities.js
r102 r103 84 84 dimension : "velocity", 85 85 nspecies : 0, 86 section : " fundamental",86 section : "waves", 87 87 formula : "this.getAlfvenVelocity(this.B)", 88 88 wikiLink : "Alfven_velocity" … … 317 317 dimension : "none", 318 318 nspecies : 1, 319 section : " fundamental",319 section : "collisions", 320 320 formula : "this.e.getCoulombLog(%s1)", 321 321 wikiLink : "Coulomb_logarithm",
Note: See TracChangeset
for help on using the changeset viewer.