Author: kono
Date: 2012-08-08 11:20:55 -0700 (Wed, 08 Aug 2012)
New Revision: 30127

Modified:
   
csplugins/trunk/toronto/jm/cy3-shared-tables/impl/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/AddEdgeTask.java
   
csplugins/trunk/toronto/jm/cy3-shared-tables/impl/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/cyannotator/CyAnnotator.java
Log:
getTable methods are replaced for new API.

Modified: 
csplugins/trunk/toronto/jm/cy3-shared-tables/impl/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/AddEdgeTask.java
===================================================================
--- 
csplugins/trunk/toronto/jm/cy3-shared-tables/impl/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/AddEdgeTask.java
   2012-08-08 18:07:32 UTC (rev 30126)
+++ 
csplugins/trunk/toronto/jm/cy3-shared-tables/impl/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/AddEdgeTask.java
   2012-08-08 18:20:55 UTC (rev 30127)
@@ -60,7 +60,7 @@
                        edgeName += " (" + interaction + ") ";
                        edgeName += 
net.getRow(targetNode).get(CyRootNetwork.SHARED_NAME, String.class);
 
-                       CyRow edgeRow = net.getRow(newEdge, 
CyNetwork.DEFAULT_ATTRS);
+                       CyRow edgeRow = net.getRow(newEdge);
                        edgeRow.set(CyNetwork.NAME, edgeName);
                        edgeRow.set(CyEdge.INTERACTION, interaction);
 

Modified: 
csplugins/trunk/toronto/jm/cy3-shared-tables/impl/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/cyannotator/CyAnnotator.java
===================================================================
--- 
csplugins/trunk/toronto/jm/cy3-shared-tables/impl/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/cyannotator/CyAnnotator.java
       2012-08-08 18:07:32 UTC (rev 30126)
+++ 
csplugins/trunk/toronto/jm/cy3-shared-tables/impl/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/cyannotator/CyAnnotator.java
       2012-08-08 18:20:55 UTC (rev 30127)
@@ -107,7 +107,7 @@
                // System.out.println("Loading annotations");
                CyNetwork network = view.getModel();
                // Now, see if this network has any existing annotations
-               final CyTable networkAttributes = 
network.getDefaultNetworkTable();
+               final CyTable networkAttributes = 
network.getLocalNetworkTable();
 
                // This should be in the HIDDEN_ATTRS namespace, but we can't 
get to it
                // without a pointer to the CyNetworkTableManager

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