Esempio n. 1
0
  /** Initialize after we have been unpersisted */
  public void initAfterUnpersistence() {
    super.initAfterUnpersistence();

    // Check if we were created with the background layers. If so then use the new list
    if (wmsSelections != null) {
      List backgroundImages = getDataContext().getIdv().getBackgroundImages();
      for (Object o : wmsSelections) {
        if (backgroundImages.contains(o)) {
          wmsSelections = backgroundImages;
          break;
        }
      }
    }

    initWmsDataSource();
  }
Esempio n. 2
0
 /**
  * _more_
  *
  * @param comps _more_
  */
 public void getPropertiesComponents(List comps) {
   super.getPropertiesComponents(comps);
   maintainRatioCbx = new JCheckBox("Match Ration", maintainRatio);
   comps.add(GuiUtils.filler());
   comps.add(GuiUtils.left(maintainRatioCbx));
 }