Changeset 4267 for trunk


Ignore:
Timestamp:
Mar 25, 2014, 6:32:12 PM (11 years ago)
Author:
ldelgass
Message:

Remove geoviewer, update test to use mapviewer

Location:
trunk/gui
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/apps/geoviewer-test

    r4032 r4267  
    22# -*- mode: Tcl -*-
    33# ----------------------------------------------------------------------
    4 #  TEST PROGRAM for GeoViewer
     4#  TEST PROGRAM for MapViewer
    55#
    66#  This program is a test harness for the GeoVis visualization
     
    130130        set cmd $last_command
    131131    }
    132     namespace eval Rappture::GeoViewer [list $widgets(geoviewer) SendCmd $cmd]
     132    namespace eval Rappture::MapViewer [list $widgets(mapviewer) SendCmd $cmd]
    133133    $widgets(command) delete 0 end
    134134}
     
    142142proc reset {} {
    143143    global widgets
    144     $widgets(geoviewer) delete
    145     $widgets(geoviewer) disconnect
     144    $widgets(mapviewer) delete
     145    $widgets(mapviewer) disconnect
    146146    $widgets(comm) configure -state normal
    147147    $widgets(comm) delete 1.0 end
     
    194194    global widgets images
    195195
    196     set imh [$widgets(geoviewer) get -image $images(which)]
     196    set imh [$widgets(mapviewer) get -image $images(which)]
    197197
    198198    set file [tk_getSaveFile -title "Save Image File" \
     
    223223    set h [winfo height $c]
    224224
    225     set imh [$widgets(geoviewer) get -image $images(which)]
     225    set imh [$widgets(mapviewer) get -image $images(which)]
    226226    set iw [image width $imh]
    227227    set ih [image height $imh]
     
    287287set f [.main pane 0]
    288288set servers [Rappture::VisViewer::GetServerList "geovis"]
    289 Rappture::GeoViewer $f.viewer $servers
     289Rappture::MapViewer $f.viewer $servers
    290290pack $f.viewer -expand yes -fill both
    291 set widgets(geoviewer) $f.viewer
     291set widgets(mapviewer) $f.viewer
    292292
    293293$f.viewer configure \
  • trunk/gui/scripts/Makefile.in

    r4261 r4267  
    6060                $(srcdir)/flowvisviewer.tcl \
    6161                $(srcdir)/gauge.tcl \
    62                 $(srcdir)/geoviewer.tcl \
    6362                $(srcdir)/getopts.tcl \
    6463                $(srcdir)/grab.tcl \
Note: See TracChangeset for help on using the changeset viewer.