1 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 22 public class ExportAsImageAction extends CommandAction 23 { 24 25 private static ResourceBundle resources = ResourceBundle.getBundle("org.ejtools.graph.GraphService"); 26 27 28 33 public ExportAsImageAction(Command command) 34 { 35 super(command, resources, "action.tools.export.as.image"); 36 this.setMenu("action.tools"); 37 this.setToolBar(true); 38 this.setSmallIcon("/toolbarButtonGraphics/general/Export16.gif"); 39 this.setIcon("/toolbarButtonGraphics/general/Export24.gif"); 40 41 this.setEnabled(Platform.isJavaVersionCompatible(Platform.JAVA_1_4)); 43 } 44 } 45 | Popular Tags |