Clover coverage report - Graph - 1.0.0
Coverage timestamp: ven. déc. 26 2003 02:14:20 CET
file stats: LOC: 45   Methods: 1
NCLOC: 18   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ExportAsImageAction.java - 0% 0% 0%
coverage
 1   
 /*
 2   
  * EJTools, the Enterprise Java Tools
 3   
  *
 4   
  * Distributable under LGPL license.
 5   
  * See terms of license at www.gnu.org.
 6   
  */
 7   
 package org.ejtools.graph.action;
 8   
 
 9   
 import java.util.ResourceBundle;
 10   
 
 11   
 import org.ejtools.adwt.action.Command;
 12   
 import org.ejtools.adwt.action.CommandAction;
 13   
 import org.ejtools.util.Platform;
 14   
 
 15   
 /**
 16   
  * Description of the Class
 17   
  *
 18   
  * @author    Laurent Etiemble
 19   
  * @version   $Revision: 1.3 $
 20   
  * @todo      Javadoc to complete
 21   
  */
 22   
 public class ExportAsImageAction extends CommandAction
 23   
 {
 24   
    /** Description of the Field */
 25   
    private static ResourceBundle resources = ResourceBundle.getBundle("org.ejtools.graph.GraphService");
 26   
 
 27   
 
 28   
    /**
 29   
     * Constructor for the NewAction object
 30   
     *
 31   
     * @param command  Description of Parameter
 32   
     */
 33  0
    public ExportAsImageAction(Command command)
 34   
    {
 35  0
       super(command, resources, "action.tools.export.as.image");
 36  0
       this.setMenu("action.tools");
 37  0
       this.setToolBar(true);
 38  0
       this.setSmallIcon("/toolbarButtonGraphics/general/Export16.gif");
 39  0
       this.setIcon("/toolbarButtonGraphics/general/Export24.gif");
 40   
 
 41   
       // Enable export if JDK 1.4 is available (contains Image IO API)
 42  0
       this.setEnabled(Platform.isJavaVersionCompatible(Platform.JAVA_1_4));
 43   
    }
 44   
 }
 45