Author: kono
Date: 2011-07-20 15:29:57 -0700 (Wed, 20 Jul 2011)
New Revision: 26225

Modified:
   
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
Log:
refs #326 View model will be updated when ding modifies center of network by 
BEV.

Modified: 
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
===================================================================
--- 
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
    2011-07-20 22:06:35 UTC (rev 26224)
+++ 
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
    2011-07-20 22:29:57 UTC (rev 26225)
@@ -1954,6 +1954,10 @@
                        m_networkCanvas.m_xCenter = x;
                        m_networkCanvas.m_yCenter = y;
                        m_viewportChanged = true;
+                       
+                       // Update view model
+                       
this.cyNetworkView.setVisualProperty(MinimalVisualLexicon.NETWORK_CENTER_X_LOCATION,
 m_networkCanvas.m_xCenter);
+                       
this.cyNetworkView.setVisualProperty(MinimalVisualLexicon.NETWORK_CENTER_Y_LOCATION,
 m_networkCanvas.m_yCenter);
                }
 
                // updateView();

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