ui/src/main/java/ucar/nc2/ui/coverage2/CoverageViewer.java
public void save() {
    //store.putInt( "vertSplit", splitDraw.getDividerLocation());

    store.putBoolean("navToolbarAction", ((Boolean) navToolbarAction.getValue(BAMutil.STATE)).booleanValue());
    store.putBoolean("moveToolbarAction", ((Boolean) moveToolbarAction.getValue(BAMutil.STATE)).booleanValue());

    if (projManager != null)
      projManager.storePersistentData();
    /* if (csManager != null)
      csManager.storePersistentData();
    if (sysConfigDialog != null)
      sysConfigDialog.storePersistentData(); */

    //dsTable.save();
    //dsTable.getPrefs().putBeanObject("DialogBounds", dsDialog.getBounds());

    store.put(GEOTIFF_FILECHOOSER_DEFAULTDIR, geotiffFileChooser.getCurrentDirectory());

    store.putBeanObject(LastMapAreaName, navPanel.getMapArea());
    store.putBeanObject(LastProjectionName, navPanel.getProjectionImpl());
    //if (gridDataset != null)
    //  store.put(LastDatasetName, gridDataset.getTitle());
    store.putBeanObject(ColorScaleName, colorScale);

    store.putBoolean("showGridAction", ((Boolean) showGridAction.getValue(BAMutil.STATE)).booleanValue());
    store.putBoolean("showContoursAction", ((Boolean) showContoursAction.getValue(BAMutil.STATE)).booleanValue());
    store.putBoolean("showContourLabelsAction", ((Boolean) showContourLabelsAction.getValue(BAMutil.STATE)).booleanValue());

  }
public void save() {
    //store.putInt( "vertSplit", splitDraw.getDividerLocation());

    store.putBoolean("navToolbarAction", ((Boolean) navToolbarAction.getValue(BAMutil.STATE)).booleanValue());
    store.putBoolean("moveToolbarAction", ((Boolean) moveToolbarAction.getValue(BAMutil.STATE)).booleanValue());

    if (projManager != null)
      projManager.storePersistentData();
    /* if (csManager != null)
      csManager.storePersistentData();
    if (sysConfigDialog != null)
      sysConfigDialog.storePersistentData(); */

    //dsTable.save();
    //dsTable.getPrefs().putBeanObject("DialogBounds", dsDialog.getBounds());

    store.put(GEOTIFF_FILECHOOSER_DEFAULTDIR, geotiffFileChooser.getCurrentDirectory());

    store.putBeanObject(LastMapAreaName, navPanel.getMapArea());
    store.putBeanObject(LastProjectionName, navPanel.getProjectionImpl());
    //if (gridDataset != null)
    //  store.put(LastDatasetName, gridDataset.getTitle());
    store.putBeanObject(ColorScaleName, colorScale);

    store.putBoolean("showGridAction", ((Boolean) showGridAction.getValue(BAMutil.STATE)).booleanValue());
    store.putBoolean("showContoursAction", ((Boolean) showContoursAction.getValue(BAMutil.STATE)).booleanValue());
    store.putBoolean("showContourLabelsAction", ((Boolean) showContourLabelsAction.getValue(BAMutil.STATE)).booleanValue());

  }
public void save ( ) { //store.putInt( "vertSplit", splitDraw.getDividerLocation()); store . putBoolean ( "navToolbarAction" , ( ( Boolean ) navToolbarAction . getValue ( BAMutil . STATE ) ) . booleanValue ( ) ) ; store . putBoolean ( "moveToolbarAction" , ( ( Boolean ) moveToolbarAction . getValue ( BAMutil . STATE ) ) . booleanValue ( ) ) ; if ( projManager != null ) projManager . storePersistentData ( ) ; /* if (csManager != null)
      csManager.storePersistentData();
    if (sysConfigDialog != null)
      sysConfigDialog.storePersistentData(); */ //dsTable.save(); //dsTable.getPrefs().putBeanObject("DialogBounds", dsDialog.getBounds()); store . put ( GEOTIFF_FILECHOOSER_DEFAULTDIR , geotiffFileChooser . getCurrentDirectory ( ) ) ; store . putBeanObject ( LastMapAreaName , navPanel . getMapArea ( ) ) ; store . putBeanObject ( LastProjectionName , navPanel . getProjectionImpl ( ) ) ; //if (gridDataset != null) //  store.put(LastDatasetName, gridDataset.getTitle()); store . putBeanObject ( ColorScaleName , colorScale ) ; store . putBoolean ( "showGridAction" , ( ( Boolean ) showGridAction . getValue ( BAMutil . STATE ) ) . booleanValue ( ) ) ; store . putBoolean ( "showContoursAction" , ( ( Boolean ) showContoursAction . getValue ( BAMutil . STATE ) ) . booleanValue ( ) ) ; store . putBoolean ( "showContourLabelsAction" , ( ( Boolean ) showContourLabelsAction . getValue ( BAMutil . STATE ) ) . booleanValue ( ) ) ; }
save all data in the PersistentStore
save all data in the PersistentStore