Class IdvProjectionManager

All Implemented Interfaces:
ActionListener, EventListener, IdvConstants

public class IdvProjectionManager extends IdvManager
This class is used to edit the set of DataAlias-s used.
Version:
$Revision: 1.28 $Date: 2006/12/27 20:14:08 $
Author:
IDV development team
  • Field Details

  • Constructor Details

    • IdvProjectionManager

      public IdvProjectionManager(IntegratedDataViewer idv)
      Create an IdvProjectionManager with the given idv and list of resources.
      Parameters:
      idv - Reference to the idv
  • Method Details

    • initProjections

      protected void initProjections()
      Initialize the set of Projection-s that are defined in the projectionResource
    • findProjectionByName

      public ucar.unidata.geoloc.ProjectionImpl findProjectionByName(String n)
      Find the projeciton with the given name
      Parameters:
      n - Name
      Returns:
      Projection or null if none found
    • storeProjections

      public void storeProjections(List newProjections)
      Write out the set of ProjectionProjection-s (using XmlEncoder) into the file defined by the writable resource of the projectionResources
      Parameters:
      newProjections - List of Projection objects to write
    • getProjections

      public List getProjections()
      Get the list of Projections available.
      Returns:
      The list of projections
    • show

      public void show()
      Show the gui
      Overrides:
      show in class WindowHolder
    • initPreferences

      public void initPreferences(IdvPreferenceManager preferenceManager)
      Add in the different preference panels.
      Parameters:
      preferenceManager - The preference manager to add things into
    • applyProjectionPreferences

      public void applyProjectionPreferences(XmlObjectStore store, Object data)
      Store the projection preferences.
      Parameters:
      store - The object store
      data - This is the projection manager
    • getDefaultProjection

      public ucar.unidata.geoloc.ProjectionImpl getDefaultProjection()
      Get the default projection to use
      Returns:
      The default projection
    • makeDefaultProjection

      protected ucar.unidata.geoloc.ProjectionImpl makeDefaultProjection()
      Make the default display projection
      Returns:
      Default display projection