[Ejtools-cvs] libraries/graph/src/main/org/ejtools/graph/action ExportAsImageAction.java,1.2,1.3 Exp
Brought to you by:
letiemble
From: <let...@us...> - 2003-12-14 09:48:32
|
Update of /cvsroot/ejtools/libraries/graph/src/main/org/ejtools/graph/action In directory sc8-pr-cvs1:/tmp/cvs-serv18699/graph/src/main/org/ejtools/graph/action Modified Files: ExportAsImageAction.java ExportAsTextAction.java Log Message: Add more javadocs. Adjust text export. Index: ExportAsImageAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/graph/src/main/org/ejtools/graph/action/ExportAsImageAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ExportAsImageAction.java 15 Sep 2003 22:11:22 -0000 1.2 --- ExportAsImageAction.java 13 Dec 2003 21:26:46 -0000 1.3 *************** *** 1,44 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.graph.action; ! ! import java.util.ResourceBundle; ! ! import org.ejtools.adwt.action.Command; ! import org.ejtools.adwt.action.CommandAction; ! import org.ejtools.util.Platform; ! ! /** ! * Description of the Class ! * ! * @author Laurent Etiemble ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public class ExportAsImageAction extends CommandAction ! { ! /** Description of the Field */ ! private static ResourceBundle resources = ResourceBundle.getBundle("org.ejtools.graph.GraphService"); ! ! ! /** ! * Constructor for the NewAction object ! * ! * @param command Description of Parameter ! */ ! public ExportAsImageAction(Command command) ! { ! super(command, resources, "action.tools.export.as.image"); ! this.setMenu("action.tools"); ! this.setToolBar(true); ! this.setSmallIcon("/toolbarButtonGraphics/general/Export16.gif"); ! this.setIcon("/toolbarButtonGraphics/general/Export24.gif"); ! ! // Enable export if JDK 1.4 is available (contains Image IO API) ! this.setEnabled(Platform.isJavaVersionCompatible(Platform.JAVA_1_4)); ! } ! } --- 1,44 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.graph.action; ! ! import java.util.ResourceBundle; ! ! import org.ejtools.adwt.action.Command; ! import org.ejtools.adwt.action.CommandAction; ! import org.ejtools.util.Platform; ! ! /** ! * Description of the Class ! * ! * @author Laurent Etiemble ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public class ExportAsImageAction extends CommandAction ! { ! /** Description of the Field */ ! private static ResourceBundle resources = ResourceBundle.getBundle("org.ejtools.graph.GraphService"); ! ! ! /** ! * Constructor for the NewAction object ! * ! * @param command Description of Parameter ! */ ! public ExportAsImageAction(Command command) ! { ! super(command, resources, "action.tools.export.as.image"); ! this.setMenu("action.tools"); ! this.setToolBar(true); ! this.setSmallIcon("/toolbarButtonGraphics/general/Export16.gif"); ! this.setIcon("/toolbarButtonGraphics/general/Export24.gif"); ! ! // Enable export if JDK 1.4 is available (contains Image IO API) ! this.setEnabled(Platform.isJavaVersionCompatible(Platform.JAVA_1_4)); ! } ! } Index: ExportAsTextAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/graph/src/main/org/ejtools/graph/action/ExportAsTextAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ExportAsTextAction.java 15 Sep 2003 22:11:22 -0000 1.2 --- ExportAsTextAction.java 13 Dec 2003 21:26:46 -0000 1.3 *************** *** 1,40 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.graph.action; ! ! import java.util.ResourceBundle; ! ! import org.ejtools.adwt.action.Command; ! import org.ejtools.adwt.action.CommandAction; ! ! /** ! * Description of the Class ! * ! * @author Laurent Etiemble ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public class ExportAsTextAction extends CommandAction ! { ! /** Description of the Field */ ! private static ResourceBundle resources = ResourceBundle.getBundle("org.ejtools.graph.GraphService"); ! ! ! /** ! * Constructor for the NewAction object ! * ! * @param command Description of Parameter ! */ ! public ExportAsTextAction(Command command) ! { ! super(command, resources, "action.tools.export.as.text"); ! this.setMenu("action.tools"); ! this.setToolBar(true); ! this.setSmallIcon("/toolbarButtonGraphics/general/Export16.gif"); ! this.setIcon("/toolbarButtonGraphics/general/Export24.gif"); ! } ! } --- 1,40 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.graph.action; ! ! import java.util.ResourceBundle; ! ! import org.ejtools.adwt.action.Command; ! import org.ejtools.adwt.action.CommandAction; ! ! /** ! * Description of the Class ! * ! * @author Laurent Etiemble ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public class ExportAsTextAction extends CommandAction ! { ! /** Description of the Field */ ! private static ResourceBundle resources = ResourceBundle.getBundle("org.ejtools.graph.GraphService"); ! ! ! /** ! * Constructor for the NewAction object ! * ! * @param command Description of Parameter ! */ ! public ExportAsTextAction(Command command) ! { ! super(command, resources, "action.tools.export.as.text"); ! this.setMenu("action.tools"); ! this.setToolBar(true); ! this.setSmallIcon("/toolbarButtonGraphics/general/Export16.gif"); ! this.setIcon("/toolbarButtonGraphics/general/Export24.gif"); ! } ! } |