Author: pwang
Date: 2008-09-09 11:30:24 -0700 (Tue, 09 Sep 2008)
New Revision: 14861

Modified:
   
csplugins/trunk/ucsd/pwang/SessionForWebPlugin/src/SessionForWebPlugin/BundleChooser.java
Log:
Add support for Export_for_cellcircuits_website

Modified: 
csplugins/trunk/ucsd/pwang/SessionForWebPlugin/src/SessionForWebPlugin/BundleChooser.java
===================================================================
--- 
csplugins/trunk/ucsd/pwang/SessionForWebPlugin/src/SessionForWebPlugin/BundleChooser.java
   2008-09-09 18:28:46 UTC (rev 14860)
+++ 
csplugins/trunk/ucsd/pwang/SessionForWebPlugin/src/SessionForWebPlugin/BundleChooser.java
   2008-09-09 18:30:24 UTC (rev 14861)
@@ -51,7 +51,8 @@
                        
fileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
                        fileChooser.setAcceptAllFileFilterUsed(false);
                }
-               else if (settings.destination == 
SessionExporterSettings.DESTINATION_ZIP_ARCHIVE)
+               else if (settings.destination == 
SessionExporterSettings.DESTINATION_ZIP_ARCHIVE 
+                               || settings.destination == 
SessionExporterSettings.DESTINATION_ZIP_ARCHIVE_4CELLCIRCUITS)
                {
                        fileChooser.setDialogTitle("Save Session To Zip 
Archive");
                        fileChooser.setSelectedFile(new File("bundle.zip"));
@@ -111,6 +112,8 @@
                                bundle = new DirectoryBundle(selectedFile);
                        else if (settings.destination == 
SessionExporterSettings.DESTINATION_ZIP_ARCHIVE)
                                bundle = new ZipBundle(selectedFile);
+                       else if (settings.destination == 
SessionExporterSettings.DESTINATION_ZIP_ARCHIVE_4CELLCIRCUITS)
+                               bundle = new ZipBundle2(selectedFile);
                }
                catch (Exception e)
                {


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to