Changeset 464 for trunk/gui/scripts/meshresult.tcl
- Timestamp:
- Jun 6, 2006, 10:33:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/meshresult.tcl
r413 r464 36 36 public method delete {args} 37 37 public method scale {args} 38 public method download {option }38 public method download {option args} 39 39 40 40 protected method _rebuild {} … … 131 131 -raise 0 132 132 -linestyle solid 133 -description "" 133 134 } 134 135 foreach {opt val} $settings { … … 259 260 260 261 # ---------------------------------------------------------------------- 261 # USAGE: download 262 # USAGE: download coming 263 # USAGE: download controls <downloadCommand> 264 # USAGE: download now 262 265 # 263 266 # Clients use this method to create a downloadable representation … … 266 269 # "string" is the data itself. 267 270 # ---------------------------------------------------------------------- 268 itcl::body Rappture::MeshResult::download {option } {271 itcl::body Rappture::MeshResult::download {option args} { 269 272 switch $option { 270 273 coming { 271 274 # nothing to do 275 } 276 controls { 277 # no controls for this download yet 278 return "" 272 279 } 273 280 now { … … 291 298 } 292 299 default { 293 error "bad option \"$option\": should be coming, now"300 error "bad option \"$option\": should be coming, controls, now" 294 301 } 295 302 }
Note: See TracChangeset
for help on using the changeset viewer.