Changeset 3305 for branches/nanovis2/gui/scripts/analyzer.tcl
- Timestamp:
- Feb 18, 2013, 2:32:14 PM (12 years ago)
- Location:
- branches/nanovis2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/nanovis2
- Property svn:mergeinfo changed
/trunk merged: 3174,3177-3182,3184-3199,3275-3282,3285,3287
- Property svn:mergeinfo changed
-
branches/nanovis2/gui/scripts/analyzer.tcl
r3175 r3305 10 10 # ====================================================================== 11 11 # AUTHOR: Michael McLennan, Purdue University 12 # Copyright (c) 2004-20 05 Purdue Research Foundation12 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 13 13 # 14 14 # See the file "license.terms" for information on usage and … … 82 82 private variable _label2page ;# maps output label => result set 83 83 private variable _label2desc ;# maps output label => description 84 private variable _label2item ;# maps output label => output.xxx item 84 85 private variable _lastlabel "" ;# label of last example loaded 85 86 private variable _plotlist "" ;# items currently being plotted … … 129 130 } 130 131 pack $itk_component(simulate) -side left -padx 4 -pady 4 132 133 # BE CAREFUL: Shift focus when we click on "Simulate". 134 # This shifts focus away from input widgets and causes them to 135 # finalize and log any pending changes. A better way would be 136 # to have the "sync" operation finalize/sync, but this works 137 # for now. 138 bind $itk_component(simulate) <ButtonPress> {focus %W} 131 139 132 140 # if there's a hub url, then add "About" and "Questions" links … … 615 623 } 616 624 625 Rappture::Logger::log download [$itk_component(viewselector) value] 617 626 set mesg [Rappture::filexfer::download $data $file] 618 627 if {[string length $mesg] > 0} { … … 745 754 eval $f.rviewer plot add $_plotlist 746 755 blt::busy release [winfo toplevel $itk_component(hull)] 756 Rappture::Logger::log output $_label2item($name) 757 Rappture::Tooltip::for $itk_component(viewselector) \ 758 "@[itcl::code $this _resultTooltip]" -log $_label2item($name) 747 759 } 748 760 } … … 830 842 insert end $name] 831 843 set _label2page($label) $page 844 set _label2item($label) output.$item 832 845 set _label2desc($label) \ 833 846 [$xmlobj get output.$item.about.description] … … 899 912 $itk_component(viewselector) choices delete 0 end 900 913 catch {unset _label2page} 914 catch {unset _label2item} 901 915 catch {unset _label2desc} 902 916 set _plotlist ""
Note: See TracChangeset
for help on using the changeset viewer.