// File: ActionDisplayCd
// Classes: ActionDisplayCd
// Authors: Fred DiPrizito
// Date 3 Mar 1997

// Authors:  Modified by Kevin Carlson and Dave Boatwright
// Date 11 March 1997

package uci.graphedit;

public class ActionDisplayGcd  extends Action {

	private GcdView gcd_viewer;
  
	public ActionDisplayGcd(Document d ){
	  super( d );
	}	  
  
	public String name(){ 
	    return new String(" Display Current GCD" ); 
	}

	public void init(Document d){}

	public void doIt() 
	{
	  if ( _document !=  null ){
	    gcd_viewer = new GcdView( _document);
	  }
	  else{
	    System.out.println( "No Document to View" );
	  }
	}

	public void undoIt() { }

}