Ejemplo n.º 1
0
  public void createScenario(ModelStoryline storyline) throws ThinklabException {

    browser.setVisible(false);
    sceditor.setVisible(true);
    sceditor.setStoryline(storyline);
    sceditor.setLocation(map.getZoom(), (ArealExtent) storyline.getContext().getSpace());
  }
Ejemplo n.º 2
0
  // temp - this should be passed what the editor created, or null
  public void addScenario(IContext editor) throws ThinklabException {

    /*
     * if editor is not null, do something
     */
    sceditor.setVisible(false);
    browser.setVisible(true);
  }