Author: kono
Date: 2009-11-24 13:45:56 -0800 (Tue, 24 Nov 2009)
New Revision: 18566

Modified:
   cytoscape/trunk/src/cytoscape/util/NestedNetworkImageManager.java
Log:
Still not working.  Need to fix empty image map.

Modified: cytoscape/trunk/src/cytoscape/util/NestedNetworkImageManager.java
===================================================================
--- cytoscape/trunk/src/cytoscape/util/NestedNetworkImageManager.java   
2009-11-24 21:24:51 UTC (rev 18565)
+++ cytoscape/trunk/src/cytoscape/util/NestedNetworkImageManager.java   
2009-11-24 21:45:56 UTC (rev 18566)
@@ -1,6 +1,7 @@
 package cytoscape.util;
 
 import giny.model.GraphPerspective;
+import giny.model.Node;
 
 import java.awt.Graphics;
 import java.awt.GraphicsConfiguration;
@@ -73,8 +74,10 @@
                
                System.out.println("!!!!!! Image map size = " + 
this.networkToImageMap.size() + 
                                ", network = " + network + ", val = " + 
networkToImageMap.get(network));
+               for(CyNetwork key:this.networkToImageMap.keySet()) {
+                       System.out.println("Key ==> " + key);
+               }
                
-               
                if (networkToImageMap.get(network) == null) {
                        return null;
                } else {
@@ -117,7 +120,7 @@
                                final CyNetwork nestedNetwork = (CyNetwork) 
node.getNestedNetwork();
                                if (nestedNetwork != null) {
                                        updateView = true;
-                                       addCustomGraphics(viewNetwork, view, 
node);
+                                       addCustomGraphics(nestedNetwork, view, 
node);
                                }
                        }
                        if (updateView) {
@@ -125,7 +128,6 @@
                        }
                        
                        System.out.println("**** updating network: " + 
viewNetwork.getTitle());                 
-                       refreshViews(viewNetwork);
                }
        }
        

--

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