ucar.unidata.idv
Class MapViewManager.ProjectionCommand

java.lang.Object
  extended by ucar.unidata.ui.Command
      extended by ucar.unidata.idv.MapViewManager.ProjectionCommand
Enclosing class:
MapViewManager

public static class MapViewManager.ProjectionCommand
extends Command

Class ProjectionCommand manages changes to the projection

Version:
$Revision: 1.382 $
Author:
IDV Development Team

Constructor Summary
MapViewManager.ProjectionCommand(MapViewManager viewManager, String oldName, MapProjection oldProjection, String newName, MapProjection newProjection)
          ctor
 
Method Summary
 void redoCommand()
          Redo
 void undoCommand()
          Undo
 
Methods inherited from class ucar.unidata.ui.Command
doCommand, isUndoable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapViewManager.ProjectionCommand

public MapViewManager.ProjectionCommand(MapViewManager viewManager,
                                        String oldName,
                                        MapProjection oldProjection,
                                        String newName,
                                        MapProjection newProjection)
ctor

Parameters:
viewManager - The vm
oldName - old state
oldProjection - old state
newName - new state
newProjection - new state
Method Detail

redoCommand

public void redoCommand()
Redo

Overrides:
redoCommand in class Command

undoCommand

public void undoCommand()
Undo

Overrides:
undoCommand in class Command