Author: mes
Date: 2010-09-05 16:45:34 -0700 (Sun, 05 Sep 2010)
New Revision: 21709

Modified:
   
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
Log:
changes to support the concept of primary key in CyDataTable

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
    2010-09-05 23:45:22 UTC (rev 21708)
+++ 
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
    2010-09-05 23:45:34 UTC (rev 21709)
@@ -401,11 +401,11 @@
                this.interceptor = interceptor;
                this.manager = manager;
 
-               final CyDataTable nodeCAM = dataFactory.createTable("node 
view", false);
+               final CyDataTable nodeCAM = dataFactory.createTable("node 
view", "SUID", Long.class, false);
                nodeCAM.createColumn("hidden", Boolean.class, false);
                tableMgr.getTableMap("NODE", networkModel).put("VIEW", nodeCAM);
 
-               final CyDataTable edgeCAM = dataFactory.createTable("edge 
view", false);
+               final CyDataTable edgeCAM = dataFactory.createTable("edge 
view", "SUID", Long.class, false);
                edgeCAM.createColumn("hidden", Boolean.class, false);
                tableMgr.getTableMap("EDGE", networkModel).put("VIEW", edgeCAM);
 

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