[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Mon Mar 29 19:52:30 UTC 2010


gordonp
Mon Mar 29 15:52:30 EDT 2010
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui
In directory dev.open-bio.org:/tmp/cvs-serv10440/src/main/ca/ucalgary/seahawk/gui

Modified Files:
	WorkflowPreviewDialog.java 
Log Message:
DataRecorder -> DataFlowRecorder
moby-live/Java/src/main/ca/ucalgary/seahawk/gui WorkflowPreviewDialog.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/WorkflowPreviewDialog.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/WorkflowPreviewDialog.java	2010/03/17 20:20:09	1.1
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/WorkflowPreviewDialog.java	2010/03/29 19:52:30	1.2
@@ -14,7 +14,7 @@
 import java.net.*;
 import java.util.*;
 import javax.swing.*;
-import ca.ucalgary.seahawk.util.DataRecorder;
+import ca.ucalgary.seahawk.util.DataFlowRecorder;
 import ca.ucalgary.seahawk.util.FilterSearch;
 
 public class WorkflowPreviewDialog extends JDialog implements ActionListener{
@@ -32,23 +32,23 @@
     private WorkflowPreviewListener listener;
     private ByteArrayOutputStream byteArrayBuffer;
     private String workflowName;
-    private DataRecorder dataRecorder;
+    private DataFlowRecorder dataFlowRecorder;
     private Map<URL,FilterSearch> resultList;
 
-    public WorkflowPreviewDialog(Frame owner, Map<URL,FilterSearch> resultList, DataRecorder dataRecorder, 
+    public WorkflowPreviewDialog(Frame owner, Map<URL,FilterSearch> resultList, DataFlowRecorder dataFlowRecorder, 
 				 String workflowName, WorkflowPreviewListener wpl) throws Exception{
 	super(owner, "Workflow Preview", true);
 
 	this.workflowName = workflowName;
-	this.dataRecorder = dataRecorder;
+	this.dataFlowRecorder = dataFlowRecorder;
 	this.resultList = resultList;
 	String workflowTitle = workflowName;
 	String workflowDescription = null;
 	String workflowAuthor = null;
 	byteArrayBuffer = new ByteArrayOutputStream();
 
-	dataRecorder.exportWorkflow(resultList, byteArrayBuffer, workflowName, workflowTitle, 
-				    workflowDescription, workflowAuthor, DataRecorder.T2FLOW);
+	dataFlowRecorder.exportWorkflow(resultList, byteArrayBuffer, workflowName, workflowTitle, 
+					workflowDescription, workflowAuthor, DataFlowRecorder.T2FLOW);
 
 	ByteArrayOutputStream pngData = new ByteArrayOutputStream();
 
@@ -133,13 +133,13 @@
 		byteArrayBuffer = new ByteArrayOutputStream();
 		// recreate the workflow with the additional metadata
 		try{
-		    dataRecorder.exportWorkflow(resultList, 
-						byteArrayBuffer, 
-						workflowName,
-						workflowTitle, 
-						workflowDescription, 
-						workflowAuthor, 
-						DataRecorder.T2FLOW);
+		    dataFlowRecorder.exportWorkflow(resultList, 
+						    byteArrayBuffer, 
+						    workflowName,
+						    workflowTitle, 
+						    workflowDescription, 
+						    workflowAuthor, 
+						    DataFlowRecorder.T2FLOW);
 		}catch(Exception ex){
 		    ex.printStackTrace();
 		    JOptionPane.showMessageDialog(null, 




More information about the MOBY-guts mailing list