Ignore:
Timestamp:
Sep 22, 2008, 5:41:59 PM (16 years ago)
Author:
dkearney
Message:

updated driver to allow the user to revisualize old run files just as rerun did. if driver can find the tool.xml file and where the application is installed, it can also allow the user to run new simulations after preloading old simulations.

Finally figured out where the current tags in group objects were coming from. controlOwner was adjusted to stop putting current tags in things. this only seemed to happen when the application also contained a loader, because we were doing an xml copy of nodes.

rewrote rerun to be a small wrapper around the "driver -load" command. rerun is now a script like rappture, it is populated with rappture's install directory from configure, so configure.in was updated. added some stuff for finding mcc in the configure.in script for a future commit

changed Rappture::Analyzer to accept -notebookpage configure flag so we can specify which page of the analyzer notebook should be currently showing. also inside of the analyzer, changed behavior of simstatus to allow us to still show a message even if the simulation button is disabled. this is helpful because we can tell the user why the simulation button is grayed out. one example of this is the case when we load old run.xml files, but cannot find a tool.xml file. the user cannot run a simulation, even if they change an input, because we can't figure out where the app is installed. now we can tell the user, why they cannot run the simulation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/controlOwner.tcl

    r781 r1159  
    246246
    247247    foreach path [array names _path2widget] {
     248        # the following elements do not accept "current" tags, skip them
     249        set type [[tool] xml element -as type $path]
     250        if {[lsearch {group separator control note} $type] >= 0} {
     251            continue
     252        }
     253
    248254        # copy new value to the XML tree
    249255        [tool] xml copy $path.current from $newobj $path.current
Note: See TracChangeset for help on using the changeset viewer.