Author: pwang
Date: 2011-01-20 15:39:54 -0800 (Thu, 20 Jan 2011)
New Revision: 23529

Modified:
   
core3/table-import-impl/trunk/src/main/java/org/cytoscape/tableimport/internal/reader/AbstractGraphReader.java
Log:
comment out unused methods

Modified: 
core3/table-import-impl/trunk/src/main/java/org/cytoscape/tableimport/internal/reader/AbstractGraphReader.java
===================================================================
--- 
core3/table-import-impl/trunk/src/main/java/org/cytoscape/tableimport/internal/reader/AbstractGraphReader.java
      2011-01-20 21:50:08 UTC (rev 23528)
+++ 
core3/table-import-impl/trunk/src/main/java/org/cytoscape/tableimport/internal/reader/AbstractGraphReader.java
      2011-01-20 23:39:54 UTC (rev 23529)
@@ -5,6 +5,7 @@
 import java.util.Set;
 
 import org.cytoscape.model.CyNetwork;
+import org.cytoscape.tableimport.internal.util.CytoscapeServices;
 import org.cytoscape.view.layout.CyLayoutAlgorithm;
 import org.cytoscape.view.layout.CyLayouts;
 //import cytoscape.task.TaskMonitor;
@@ -57,8 +58,7 @@
         * @return  DOCUMENT ME!
         */
        public String getNetworkName() {
-               return "tmpNetworkTitle";
-               /*
+
                String t = "";
 
                if (title != null){
@@ -77,29 +77,29 @@
                        }
                        
                        // 2. check if the file ext is one of the pre-defined 
exts
-                       Set extSets = (Set) 
Cytoscape.getImportHandler().getAllExtensions();                    
-                       if (extSets.contains(ext)){
-                               // if the file ext is pre-defined, remove it 
from network title
-                               t = t.substring(0, dotIndex);
-                       }
+                       //Set extSets = (Set) 
Cytoscape.getImportHandler().getAllExtensions();                  
+                       //if (extSets.contains(ext)){
+                       //      // if the file ext is pre-defined, remove it 
from network title
+                       //      t = t.substring(0, dotIndex);
+                       //}
                }
 
-               return CyNetworkNaming.getSuggestedNetworkTitle(t);
-               */
+               //return //CyNetworkNaming.getSuggestedNetworkTitle(t);
+               return 
CytoscapeServices.cyNetworkNaming.getSuggestedNetworkTitle(t);
        }
 
        /**
         * Executes post-processing:  no-op.
        */
-       public void doPostProcessing(CyNetwork network) {
-       }
+       //public void doPostProcessing(CyNetwork network) {
+       //}
 
        /**
         * Return the CyLayoutAlgorithm used to layout the graph
         */
-       public CyLayoutAlgorithm getLayoutAlgorithm() {
-               return null;//CyLayouts.getDefaultLayout();
-       }
+       //public CyLayoutAlgorithm getLayoutAlgorithm() {
+       //      return null;//CyLayouts.getDefaultLayout();
+       //}
 
        /**
         * Set the task monitor to use for this reader

-- 
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